Albrecht Schlosser wrote:

> Alvin wrote:
> 
>> My question/comment has to do when the cursor is not on top of the
>> widget. This is when I want the widget to use the FL_FLAT_BOX. My
>> implementation is working, but the issue has to do with
>> Fl_Menu_Button::draw(). There is a specific case in
>> Fl_Menu_Button::draw(), that if box() == FL_FLAT_BOX, the down arrow is
>> not drawn. The comment for this case states:
>> 
>>   if (box() == FL_FLAT_BOX) return; // for XForms compatibility
>> 
>> Is XForms being supported in FLTK 1.3? If not, can this line be removed?
> 
> We discussed XForms compatibility recently, and I think that we decided to
> remove Forms compatibility from FLTK 1.3 / 1.4.
> 
> IMHO, such a "hidden" compatibility "feature" as the above-mentioned
> should be removed ASAP.
> 
> +1 for removing the above-mentioned statement immediately.
> 
> 
> Albrecht

Good to know. Thanks.

I have submitted an STR (STR#2141 <http://www.fltk.org/str.php?L2141>) with 
a patch that removes that statement.

Alvin


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

Reply via email to