imtk

diff test.c @ 18:737e9047d9c9

added radio group
author John Tsiombikas <nuclear@siggraph.org>
date Mon, 25 Apr 2011 08:54:05 +0300
parents 1cf212375db3
children c7a7ddbe7714
line diff
     1.1 --- a/test.c	Tue Apr 19 08:36:23 2011 +0300
     1.2 +++ b/test.c	Mon Apr 25 08:54:05 2011 +0300
     1.3 @@ -146,7 +146,7 @@
     1.4  	}
     1.5  
     1.6  	itemlist = imtk_create_list("teapot", "torus", "sphere", NULL);
     1.7 -	if((objsel = imtk_listbox(IMUID, itemlist, prev_sel, 30, 120)) != prev_sel) {
     1.8 +	if((objsel = imtk_radiogroup(IMUID, itemlist, prev_sel, 30, 120)) != prev_sel) {
     1.9  		prev_sel = objsel;
    1.10  		glutPostRedisplay();
    1.11  	}