Changeset 6305 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Dec 26, 2005, 1:46:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_bar.cc
r6295 r6305 67 67 glBegin(GL_QUADS); 68 68 69 glVertex2f( .1 * this->getSizeX2D(), .1 * this->getSizeY2D());70 glVertex2f( .1 * this->getSizeX2D(), this->getSizeY2D()* .9* (value/maximum));71 glVertex2f(this->getSizeX2D() * .9, this->getSizeY2D() * .9* (value/maximum));72 glVertex2f(this->getSizeX2D() * .9, .1 * this->getSizeY2D());69 glVertex2f(3.0, 3.0); 70 glVertex2f(3.0, (this->getSizeY2D()-3.0)* (value/maximum)); 71 glVertex2f(this->getSizeX2D()-3.0, (this->getSizeY2D()-3.0) * (value/maximum)); 72 glVertex2f(this->getSizeX2D()-3.0, 3.0); 73 73 74 74 glEnd();
Note: See TracChangeset
for help on using the changeset viewer.