Matthias Melcher schrieb:
>
> On 12.07.2011, at 15:38, Edzard Egberts wrote:
>
>> Also I know wrapper like this, only keeping the interface:
>>
>> Header: class Fl3_Widget; class Fl_Widget { // Declare Methods
>> compatible to old Fl_Widget // add: Fl3_Widget* pW3; };
>
> That's more or less what I do.
>
> The problem arises when a user writes his own Fl_Something::draw()
> function. In that case, the function will never be called, and that's
> where the back-reference from the FLTK 3 widget to the FLTK 1 wrapper
> is needed.At this place the user would call the drawing functions, but nothing from classes. What's about the basic drawing functions (like fl_rect, fl_draw), are they the same for all versions? When not, why should it make sense, to call the origin draw() method - it won't draw anything, the user wants? > But as I said earlier, your original post pointed me to a version > that will solve three of my issues, including the removal of almost > everything wrapper related in FLTK 3 (sans on pointer). That's fine! :o) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

