DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2834 Version: 1.3-feature @Ian, I don't think calling ((Fl_Widget *)this)->draw() will work in my Fl_Help_View subclass's draw() method (it will recurs) - or am I misunderstanding you? I tried calling ((Fl_Group *)this)->draw() but this doesn't work also. The same with handle(), I believe.. @Albrecht Looking at other widgets I guess FLTK's design deliberately not intended a subclass to use the draw() method of it's inherited class, which is okay for simple widgtes as you have draw_box() and draw_label() that can be used. Nevertheless I think it might be usefull for extending widgets to have a protected (you are right about not needing public) access to draw(). Or am I missing something - how else could one extend the inherited draw() without duplicating the whole drawing code (which is huge in case of Fl_Help_View) or using some dirty tricks? Link: http://www.fltk.org/str.php?L2834 Version: 1.3-feature _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
