> > Dear All,
> > In fltk2.0, it has a API called selection_textcolor(int color), this can 
> > change text color if the text is select.
> >
> > But in fltk1.3, I can't find the similar API, can anyone else tell me where 
> > is this API, thanks.
> >
> > Best regards,
> > leo
>
>     Hmm, for which widget? Usually its 'selection_color()', ie.
>     Fl_Widget::selection_color()
>
>
>

the selection_color can only change the widget's background color, but can not 
change text color, I have add a selection_text_color API in Fl_Browser, now I 
can set the text color when the item selected.

Best regards,
Leo
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to