fl_choice

3 views
Skip to first unread message

holm.h...@gmail.com

unread,
May 18, 2021, 6:08:13 PM5/18/21
to fltk.general

Hi,

I use the following code:
     ret = fl_choice("Are you sure you want to quit?", "Cancel", "Quit", NULL);

How can I specify the font-color ?

Best regards
Håvard


Ian MacArthur

unread,
May 19, 2021, 6:10:45 AM5/19/21
to fltk.general
On Tuesday, 18 May 2021 at 23:08:13 UTC+1 holm.h... wrote:

Hi,

I use the following code:
     ret = fl_choice("Are you sure you want to quit?", "Cancel", "Quit", NULL);

How can I specify the font-color ?

The colour used for the button text?

I do not think you can, TBH. 
Those helper dialogs form fl_ask are sort of meant as a sort of minimal option: if you want anything even vaguely fancy you are better off making your own dialog window, that you can style to better suit your needs.


 
Reply all
Reply to author
Forward
0 new messages