Index: intro.html =================================================================== --- intro.html (revision 23119) +++ intro.html (revision 23120) @@ -35,7 +35,7 @@ PCB_DAD_INTEGER(dlg, "foo"); PCB_DAD_MINVAL(dlg, 1); PCB_DAD_MAXVAL(dlg, 10); - PCB_DAD_DEFAULT_VAL(dlg, 3); + PCB_DAD_DEFAULT_NUM(dlg, 3); widget_id_foo = PCB_DAD_CURRENT(dlg); PCB_DAD_BUTTON(dlg, "update!"); PCB_DAD_CHANGE_CB(dlg, pcb_act_attr_chg); Index: widgets.html =================================================================== --- widgets.html (revision 23119) +++ widgets.html (revision 23120) @@ -255,7 +255,7 @@ PCB_DAD_COMPFLAG(table, val) set all compflags PCB_DAD_MINVAL(table, val) change the minimal value for numeric input PCB_DAD_MAXVAL(table, val) change the maximal value for numeric input -PCB_DAD_DEFAULT_VAL(table, val) set the default (initial) value for non-pointer fields (integers, coords, bools, floats) +PCB_DAD_DEFAULT_NUM(table, val) set the default (initial) value for numeric fields (integers, coords, bools, floats) PCB_DAD_DEFAULT_PTR(table, val) set the default (initial) value for pointer fields (e.g. strings) PCB_DAD_MINMAX(table, min, max) hange both the minimal and the maximal value for numeric input PCB_DAD_CHANGE_CB(table, cb) cb is a function that shall be called upon any change to the widget value