..
> all fltk 1.3 including deriving fltk classes, but for it to work with
> callbacks easily he needs to make "void do_callback(Fl_Widget* o,void*
> arg=0)" a virtual function.
>
> I propose to make this modification on the official FLTK sources.

I think this would be a non-sense.
Callbacks are supposed to address the white box inheritance scheme by 
furthering a dynamic (runtime) approach.

If one wants to use a polymorphic behavior, thus overriding a virtual method, 
then handle() is the way to go IMHO.

Not mention, the potential overhead (are we sure that in all situations, some 
callbacks won't be call frequently?) and also the regressions issues as there 
are at least three callbacks methods to change AFAIR...

so -1 on that one for me.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to