FLTK logo

STR #3017

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3017

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:FLTK & icons for each scheme.
Version:1.3-feature
Created By:kdiman
Assigned To:matt
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 kdiman
13:09 Dec 15, 2013
That maybe very useful.
But needs to determine name/size for each icon.

For example:

[CODE=CPP]
Fl::scheme(const char *){
 // check if user has called `fl_register_images' for loading icons ...
 // here needs to free images from  previous scheme (from Fl_Shared_Image) ...
 if(scheme_plastic){
  Fl_PNG_Image icon1("fl_icon_alert", // determined name for alert icon (same for all shemes)
  plastic_icon_alert_data,
  plastic_icon_alert_size);

  Fl_PNG_Image icon2("fl_icon_cancel",
  plastic_icon_cancel_data,
  plastic_icon_cancel_size);
 }
}


// somewhere in app/dialog:
if(Fl_Shared_Image::find("fl_icon_alert")){
 // drawing the alert icon
}
[/CODE]

PS: It were only my opinions (IMHO),
but perhaps someone had thinked about that
before me ...

PSS: perhaps to make one pack of icons for all schemes,
with possibility to reset the icons by user.

PSSS: potentially free icons: www.clker.com

--
regards.
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.