On 21/12/10 19:27, Domingo Alvarez Duarte wrote: > This patch adds simple macro capability to the extra code lines in fluid: > > [email protected]_data = @name; > > If an extra code line starts with "=" then the "=" will be removed and any > occurrence of "@name" will be replaced by the widget name entered and every > occurrence of "@class" will be replaced by the classname (default or user > entered). > > Supposing the above line on an "Fl_Input" with a name of "age" will be > converted to: > > db_vat_rates.Fl_Input.user_data = age;
Oh - not sure I like that syntax, but the idea is very interesting... _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
