FLTK logo

STR #2762

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 | 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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 dfatfl
22:40 Nov 03, 2011
fl-choice-icon.patch
2k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

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'.