Roman Kantor wrote:
> Albrecht Schlosser wrote:
>> matthiasm wrote:
>>> Or in short: please do *not* make draw() public.
>> That's a good rationale, and I do fully understand your reasoning. But
>> then we should IMHO be consistent and make *ALL* draw methods protected
>> (excluding Fl_Widget::draw(), of course).
> 
> Yes - I thought it is that way.
> Obviously exception are non-widget animals like images etc.

Letting these "non-widget animals" aside, here is a list of exceptions (public 
draw() methods), according to the doxygen docs:

  - Fl_File_Input
  - Fl_Input
  - Fl_Menu_Item
  - Fl_Pack
  - Fl_Positioner (Forms compatibility widget)
  - Fl_Value_Input
  - Fl_Value_Output
  - Fl_Value_Slider
  - Fl_Slider

  - Fl_Cairo_Window
  - Fl_Gl_Window

No guarantees for correctness, though.

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

Reply via email to