Albrecht Schlosser wrote:

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


>  - Fl_Menu_Item

This is not a widget too (at least in 1.x, don't know about 2.0)


>  - Fl_Slider

The reason for this one could be that its draw() method might be
explicitly called within "composite" non-group widgets like Fl_Scroll.
But obviously it could be always accessed by downcasting to (Fl_Widget*)
so no problem here.

I believe that these draw()s from your list are public rather by
overlooking (when written) than for some purpose so making them
protected should not break too much user code - no heretic is calling
these directly, right?

R.




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

Reply via email to