imtk
diff src/imtk.h @ 10:467a520f5c00
implemented the listbox correctly, no scrollbars or explicit sizing yet
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Sun, 17 Apr 2011 18:17:55 +0300 |
parents | 6d35e6c7b2ca |
children | 9c7987064bb0 |
line diff
1.1 --- a/src/imtk.h Sat Apr 16 22:59:23 2011 +0300 1.2 +++ b/src/imtk.h Sun Apr 17 18:17:55 2011 +0300 1.3 @@ -43,16 +43,14 @@ 1.4 void imtk_textbox(int id, char *textbuf, size_t buf_sz, int x, int y); 1.5 float imtk_slider(int id, float pos, float min, float max, int x, int y); 1.6 void imtk_progress(int id, float pos, int x, int y); 1.7 +int imtk_listbox(int id, const char *list, int sel, int x, int y); 1.8 /* 1.9 -int imtk_listbox(int id, const char *list, int sel, int x, int y); 1.10 int imtk_combobox(int id, char *textbuf, size_t buf_sz, const char *list, int sel, int x, int y); 1.11 */ 1.12 1.13 /* helper functions to create and destroy item lists for listboxes and comboboxes */ 1.14 -/* 1.15 char *imtk_create_list(const char *first, ...); 1.16 void imtk_free_list(char *list); 1.17 -*/ 1.18 1.19 #ifdef __cplusplus 1.20 }