On 03/23/12 07:34, Rainer Rinke wrote:
> Hi,
> I just rebuilt an application under (Open)Solaris. That was done just out of
> the box. But the background color of the Fl_Browser is grey. On other
> platforms (Win32, Linux) it is white. Where is it to be set? (I am using
> FLTK-1.1.10)
I believe Fl_Browser's background color is the widget's color(),
which defaults to colormap color #7.
It sounds like OpenSolaris has a grey color instead of white
for color #7.
I would think you could fix this by setting the colormap entry
for color #7 to white using:
Fl::set_color(7, 255,255,255);
..either at the top of your app, or perhaps better, just before
your call to Fl::run().
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk