| [ 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: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#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 ]
|
| |