- Timestamp:
- Feb 7, 2006, 3:10:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_bar.cc
r7062 r7073 66 66 glBegin(GL_QUADS); 67 67 68 glTexCoord2 i(0,0);68 glTexCoord2f(0,0); 69 69 glVertex2f(3.0, 3.0); 70 glTexCoord2 i(0,1);70 glTexCoord2f(0, value/maximum); 71 71 glVertex2f(3.0, (this->getSizeY2D()-3.0)* (value/maximum)); 72 glTexCoord2 i(1,1);72 glTexCoord2f(1, value/maximum); 73 73 glVertex2f(this->getSizeX2D()-3.0, (this->getSizeY2D()-3.0) * (value/maximum)); 74 glTexCoord2 i(1,0);74 glTexCoord2f(1,0); 75 75 glVertex2f(this->getSizeX2D()-3.0, 3.0); 76 76
Note: See TracChangeset
for help on using the changeset viewer.