From: <kr_...@us...> - 2003-08-21 18:22:07
|
Update of /cvsroot/htoolkit/port/src/include In directory sc8-pr-cvs1:/tmp/cvs-serv15930/port/src/include Modified Files: CheckBox.h RadioBox.h Log Message: Simplified API for RadioBox. The new API is much like the API for ToolGroup and MenuGroup Index: CheckBox.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/CheckBox.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CheckBox.h 23 Jan 2003 20:19:32 -0000 1.2 --- CheckBox.h 21 Aug 2003 17:34:02 -0000 1.3 *************** *** 4,9 **** #include "Types.h" ! WindowHandle osCreateCheckBox(WindowHandle window, char *title); void osGetCheckBoxReqSize(WindowHandle checkbox, int *res); BOOL osGetCheckBoxState(WindowHandle checkbox); void osSetCheckBoxState(WindowHandle checkbox, BOOL state); --- 4,11 ---- #include "Types.h" ! WindowHandle osCreateCheckBox(WindowHandle window); void osGetCheckBoxReqSize(WindowHandle checkbox, int *res); + char *osGetCheckBoxText(WindowHandle checkbox); + void osSetCheckBoxText(WindowHandle checkbox, char *txt); BOOL osGetCheckBoxState(WindowHandle checkbox); void osSetCheckBoxState(WindowHandle checkbox, BOOL state); Index: RadioBox.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/RadioBox.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RadioBox.h 23 Jan 2003 20:19:32 -0000 1.2 --- RadioBox.h 21 Aug 2003 17:34:02 -0000 1.3 *************** *** 4,11 **** #include "Types.h" ! WindowHandle osCreateRadioBox(WindowHandle window, BOOL isFirst, char *title); void osGetRadioBoxReqSize(WindowHandle radiobox, int *res); BOOL osGetRadioBoxState(WindowHandle radiobox); void osSetRadioBoxState(WindowHandle radiobox, BOOL state); #endif --- 4,14 ---- #include "Types.h" ! WindowHandle osCreateRadioBox(WindowHandle window); void osGetRadioBoxReqSize(WindowHandle radiobox, int *res); + char *osGetRadioBoxText(WindowHandle checkbox); + void osSetRadioBoxText(WindowHandle checkbox, char *txt); BOOL osGetRadioBoxState(WindowHandle radiobox); void osSetRadioBoxState(WindowHandle radiobox, BOOL state); + void osSetRadioBoxGroup(WindowHandle *handles); #endif |