DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2011 Version: 1.3-current I've been through the debugger and produced a patch that appears to work with Linux/g++ but I can't test on other platforms. It adds a 'user_defined(cbname)' member function to Fl_Type that scans to see whether any Function block matches the given callback name. It is only called Fl_Menu_Item_Type::write_static() because this is where I have had problems, and because Fl_Widget_Type:write_static() already has some convoluted logic to handle this (and probably better!). The patch does not check that the Function is a plain function or a member function from the same class, nor does it check the parameter types. As I haven't worked out the complete fluid architecture yet, I don't know whether it needs to or not. I leave that to the experts. Link: http://www.fltk.org/str.php?L2011 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
