Michael Schmid schrieb: > Hi! > > If have an FLTK-GUI with a black background and some widgets on it. Now, > if I edit an input field I deactivate all the other widgets. This works > fine. But the colors don't look very well. > > For example the FL_CHECK_BUTTON: If I deactivate the label gets mor > contrast and is changed from white to gray, this is fine. But the > "checkfield" itself (where I can set the hook) stays white. And this > realy shines out! Is there a way to customize deactivate() that the > check field itself also gets darker? > As a workaround I could also define the checkfield just gray, but I > didn't find a way to modify this color > > The same problem with FL_Choice... :-( > > FLTK: 1.1.9 > > Thanks for your support!
Made the test: If I exchange FL_BACKGROUND2_COLOR with (Fl_Color)0xyyyyyy00 in FL_LIGHT_BUTTON, then I have the color I want... Now I have to do it the proper way, as you proposed ;-) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

