Perhaps you can use Fl_Browser for your needs?

There you can set the background color of lines individually:

http://www.fltk.org/doc-1.3/classFl__Browser.html#a6b4d3525d8d9fccfc748d824b39f250b



> I am using FLTK Version 1.3
> Can Fl_Text_Display text have a background color ?
> It seems to me it should be in Style_Table_Entry somewhere.
> eg :  I would like my Fl_Text_Display to look like
> ----------------------------------------------------------
> -   This line has yellow background black foreground     -
> -                                                        -
> -   This line has white background blue foreground       -
> -                                                        -
> -   etc                                                  -
> ----------------------------------------------------------
>
> Please. Thanks.

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to