I am wondering has anyone made a editor to make the UI creation quicker using TGUI? Be nice to use a layout editor and then save it to the config files to use that way...
Thanks!
Thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix();
glLoadIdentity();//load identity matrix
glTranslatef(4.0f, 4.0f, -4.0f);//move forward 4 units
glColor3f(0.0f, 0.0f, 1.0f); //blue color
glBegin(GL_LINE_LOOP);//start drawing a line loop
glVertex3f(-1.0f, 0.0f, 0.0f);//left of window
glVertex3f(0.0f, -1.0f, 0.0f);//bottom of window
glVertex3f(1.0f, 0.0f, 0.0f);//right of window
glVertex3f(0.0f, 1.0f, 0.0f);//top of window
glEnd();//end drawing of line loop
glPopMatrix();
gui.draw();
window.display();