+ /* draw UI */
+
+ glMatrixMode(GL_PROJECTION);
+ glLoadIdentity();
+ glOrtho(0, win_width, win_height, 0, -1, 1);
+ glViewport(0, 0, win_width, win_height);
+
+ glBegin(GL_QUADS);
+ glColor3f(0.25, 0.25, 0.25);
+ glVertex2f(0, 0);
+ glVertex2f(splitx, 0);
+ glVertex2f(splitx, win_height);
+ glVertex2f(0, win_height);
+ glEnd();
+
+ glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ utk_draw(uiroot);
+ glDisable(GL_BLEND);
+
+