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


I believe the correct solution would be to proceed as done 
by Fl_Value_Input that embeds, as a member, an Fl_Input object
called input. This way, the Fl_Value_Input::draw() function can call
Fl_Input::draw() as follows:
   Fl_Widget *w = &input;
   w->draw();
Function Fl_Value_Input::handle() can also call Fl_Input::handle().

The key point is that Fl_Value_Input is not a subclass of Fl_Input,
but uses an Fl_Input object as one of its members.


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

Reply via email to