imtk
diff test.c @ 7:6d35e6c7b2ca
reorganization finished
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 14 Apr 2011 23:04:07 +0300 |
parents | 00a4ea4ee6dc |
children | 467a520f5c00 |
line diff
1.1 --- a/test.c Thu Apr 14 14:22:42 2011 +0300 1.2 +++ b/test.c Thu Apr 14 23:04:07 2011 +0300 1.3 @@ -94,7 +94,7 @@ 1.4 1.5 1.6 glViewport(0, 0, 200, ysz); 1.7 - imtk_inp_reshape(200, ysz); 1.8 + imtk_set_viewport(200, ysz); 1.9 1.10 gui(); 1.11 1.12 @@ -108,8 +108,8 @@ 1.13 static char textbuf[256]; 1.14 static char textbuf2[256]; 1.15 static float val; 1.16 - static int prev_sel; 1.17 - char *itemlist; 1.18 + /*static int prev_sel; 1.19 + char *itemlist;*/ 1.20 1.21 imtk_begin(); 1.22 1.23 @@ -132,12 +132,12 @@ 1.24 glutPostRedisplay(); 1.25 } 1.26 1.27 - itemlist = imtk_create_list("teapot", "torus", "sphere", NULL); 1.28 + /*itemlist = imtk_create_list("teapot", "torus", "sphere", NULL); 1.29 if((objsel = imtk_listbox(IMUID, itemlist, prev_sel, 30, 120)) != prev_sel) { 1.30 prev_sel = objsel; 1.31 glutPostRedisplay(); 1.32 } 1.33 - imtk_free_list(itemlist); 1.34 + imtk_free_list(itemlist);*/ 1.35 1.36 imtk_textbox(IMUID, textbuf, sizeof textbuf, 30, 200); 1.37 imtk_textbox(IMUID, textbuf2, sizeof textbuf2, 30, 250);