| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #2762
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: | Ability to set icon character for fl_choice |
Version: | 1.4-feature |
Created By: | dfatfl |
Assigned To: | AlbrechtS |
Fix Version: | 1.4.0 |
Fix Commit: | a0724ab7c4fedbd037d5b72332ae47fde8584dff |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | dfatfl 22:40 Nov 03, 2011 |
| This enables setting the icon for fl_choice via fl_choice_icon. | |
|
#2 | AlbrechtS 16:30 Sep 01, 2016 |
| Bumped version from 1.3-feature to 1.4-feature.
Note that FLTK 1.4 will get a new dialog widget that will feature the common dialogs. The option to set the dialog icon should be considered for the new implementation. | |
|
#3 | AlbrechtS 11:44 Dec 04, 2021 |
| Fixed in Git repository.
commit: a0724ab7c4fedbd037d5b72332ae47fde8584dff (FLTK 1.4.0)
I implemented a new function
fl_message_icon_label(const char *str)
to set the icon label. We need 'const char *' because the label must be encoded in UTF-8 and can be more than one byte - despite the fact that it must be short (only one UTF-8 character) so it fits in the icon space.
This function can be called right before any of the common dialogs and affects only the next dialog execution (see documentation). | |
[ Return to Bugs & Features ]
|
| |