I was playing around with the Fl_Light_Button colors as brought up the
other day, and I noticed how the round button or something didn't grey
out when deactivated in the gtk+ scheme. Hmmm....

I went off to test/boxtype and tried

Index: boxtype.cxx
===================================================================
--- boxtype.cxx (revision 9746)
+++ boxtype.cxx (working copy)
@@ -37,6 +37,8 @@
   y = y*H+10;
   Fl_Box *b = new Fl_Box(type,x,y,square ? H-20 : W-20,H-20,name);
   b->labelsize(11);
+  b->color(FL_RED);
+  b->deactivate();
   if (square) b->align(FL_ALIGN_RIGHT);
 }

..and the ones that stayed bright red seemed like an arbitrary assortment.

Is this in some way proper behaviour for these boxtypes?

If not, I can try to make a patch modeled on how fl_gtk.cxx deals with it.


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

Reply via email to