The Fl_Choice box is presently hardcoded in the 1st statement of its draw() member function which reads:
Fl_Boxtype btype = Fl::scheme() ? FL_UP_BOX // non-default uses up box : FL_DOWN_BOX; // default scheme uses down box
To bypass that, you could do this:
- define a class for your custom Fl_Choice object(s) derived from Fl_Choice
- orerride the void draw() member function of this class with a copy of Fl_Choice::draw()
to be found in file src/Fl_Choice.cxx
- alter the 1st statement of your custom draw() function, possibly as follows:
Fl_Boxtype btype = FL_NO_BOX;
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com .
To view this discussion visit https://groups.google.com/d/msgid/fltkgeneral/7f54bab9-1ef8-419e-8649-2f1bc1b1dccdn%40googlegroups.com .
[ Direct Link to Message ]