From: Christer S. <ch...@us...> - 2009-11-11 07:26:00
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12879/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Added features 2895747, 2895750 and 2895751 Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.49 retrieving revision 1.5.2.7.2.50 diff -C2 -d -r1.5.2.7.2.49 -r1.5.2.7.2.50 *** cgui.h 27 Sep 2009 20:28:21 -0000 1.5.2.7.2.49 --- cgui.h 11 Nov 2009 07:25:50 -0000 1.5.2.7.2.50 *************** *** 287,295 **** /* List-boxes */ ! #define ROW_STRIKE 0x80000000 ! #define ROW_UNDERLINE 0x40000000 ! #define ROW_CHECK 0x20000000 ! #define ROW_UNCHECK 0x10000000 ! #define COL_RIGHT_ALIGN 0x08000000 CGUI_FUNC(int, AddList, (int x, int y, void *listdata, int *n, int width, int events, CGUI_METHOD(int, TextFormatter, (void *, char *)), CGUI_METHOD(void, Action, (int id, void *)), int norows)); CGUI_FUNC(int, SetLinkedList, (int id, CGUI_METHOD(void *, NextCreater, (void *list, void *prev)))); --- 287,297 ---- /* List-boxes */ ! #define ROW_STRIKE (1<<31) ! #define ROW_UNDERLINE (1<<30) ! #define ROW_CHECK (1<<29) ! #define ROW_UNCHECK (1<<28) ! #define COL_RIGHT_ALIGN (1<<27) ! #define ROW_COLUMN_UNDERLINE (1<<26) ! CGUI_FUNC(int, AddList, (int x, int y, void *listdata, int *n, int width, int events, CGUI_METHOD(int, TextFormatter, (void *, char *)), CGUI_METHOD(void, Action, (int id, void *)), int norows)); CGUI_FUNC(int, SetLinkedList, (int id, CGUI_METHOD(void *, NextCreater, (void *list, void *prev)))); *************** *** 317,320 **** --- 319,324 ---- CGUI_FUNC(int, CguiListBoxSetToolTip, (int listid, int mode, int options)); CGUI_FUNC(void, CguiListBoxRowSetBar, (int color, double percentage)); + CGUI_FUNC(int, CguiListBoxRowGetClickedColumn, (int rowid)); + CGUI_FUNC(void, CguiListBoxSetColumnSelection, (int listid, int state)); CGUI_VAR(int , cgui_list_no_multiple_row_selection); |