Evan Laforge wrote: > One more short request: could you put in comments explaining why these > particular bits of dynamic type info are needed? E.g. group because > xyz important function needs to do generic traversal of Fl_Widgets, > and window because xyz important function needs to treat windows > specially. RTTI is out because overhead / embedded platform compilers > don't support it / whatever.
Yes, good idea. I'll see what I can do. > That way future readers won't wonder "why these particular two types > and not my favorite type?" And subclassers can know when it's > appropriate to override. I remember wondering that about the type() > magic. Yup, type(), that's a problem. There aren't any clear rules how to use it, specifically when subclassing. Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
