From: <kr_...@us...> - 2003-07-10 19:51:31
|
Update of /cvsroot/htoolkit/port/src/include In directory sc8-pr-cvs1:/tmp/cvs-serv2409/src/include Modified Files: ListBox.h Log Message: Complete implementation for ListBox for GTK/Gnome. Index: ListBox.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/ListBox.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ListBox.h 23 Jan 2003 20:19:32 -0000 1.2 --- ListBox.h 10 Jul 2003 19:39:56 -0000 1.3 *************** *** 1,17 **** ! #ifndef LISTBOX_H ! #define LISTBOX_H ! ! #include "Types.h" ! ! WindowHandle osCreateListBox(WindowHandle window, BOOL multisel); ! void osAppendListBoxItem(WindowHandle listbox, char *title); ! void osInsertListBoxItem(WindowHandle listbox, int index, char *title); ! void osRemoveListBoxItem(WindowHandle listbox, int index); ! void osRemoveAllListBoxItems(WindowHandle listbox); ! void osGetListBoxReqSize(WindowHandle listbox, int *res); ! int osGetListBoxSingleSelection(WindowHandle listbox); ! BOOL osGetListBoxItemSelectState(WindowHandle listbox, int index); ! void osSetListBoxSingleSelection(WindowHandle listbox, int index); ! void osSetListBoxItemSelectState(WindowHandle listbox, int index, BOOL state); ! ! #endif --- 1,18 ---- ! #ifndef LISTBOX_H ! #define LISTBOX_H ! ! #include "Types.h" ! ! WindowHandle osCreateListBox(WindowHandle window, BOOL multisel); ! void osAppendListBoxItem(WindowHandle listbox, char *title); ! void osInsertListBoxItem(WindowHandle listbox, int index, char *title); ! void osRemoveListBoxItem(WindowHandle listbox, int index); ! void osRemoveAllListBoxItems(WindowHandle listbox); ! void osGetListBoxReqSize(WindowHandle listbox, int *res); ! int osGetListBoxSingleSelection(WindowHandle listbox); ! BOOL osGetListBoxItemSelectState(WindowHandle listbox, int index); ! void osSetListBoxSingleSelection(WindowHandle listbox, int index); ! void osSetListBoxItemSelectState(WindowHandle listbox, int index, BOOL state); ! int osGetListBoxCurrentItem(WindowHandle listbox); ! ! #endif |