> For what it is worth, I prefer the "gtk+" scheme to the "plastic" scheme...=
> Though not sure if that helps you at all!
I finally got the plastic scheme working and I rather like it! I had to
conditionally get rid of box types that are not represented in a "plastic"
version and set the color of scrolls with:
Fl_Color scheme_color(Fl_Color widgetcolor)
{
if (Fl::scheme() && !strcmp(Fl::scheme(), "plastic")) return
(fl_color_average(fl_gray_ramp(16), widgetcolor, 0.75f));
return widgetcolor;
}
I don't understand why the scroll interior background doesn't get drawn with
the background color of the parent widget when the boxtype of scrolls is
FL_NO_BOX.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk