Changeset 7889 in orxonox.OLD for branches/gui/src/lib
- Timestamp:
- May 27, 2006, 3:14:45 AM (19 years ago)
- Location:
- branches/gui/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/text_engine/multi_line_text.cc
r7758 r7889 64 64 return; 65 65 glPushMatrix(); 66 glPushAttrib(GL_ENABLE_BIT); 66 67 // transform for alignment. 67 68 // TODO make the Stuff with the alignment … … 117 118 } 118 119 glEnd(); 120 glPopAttrib(); 119 121 glPopMatrix(); 120 122 } -
branches/gui/src/lib/graphics/text_engine/text.cc
r7877 r7889 189 189 return; 190 190 glPushMatrix(); 191 glPushAttrib(GL_ENABLE_BIT); 191 192 // transform for alignment. 192 193 if (this->getAlignment() == TEXT_ALIGN_RIGHT) … … 230 231 } 231 232 glEnd(); 233 glPopAttrib(); 232 234 glPopMatrix(); 233 235 } -
branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc
r7888 r7889 92 92 glBegin(GL_QUADS); 93 93 94 gl Vertex2d(1, 1);95 gl Vertex2d(1, this->getSizeY2D() -1);96 gl Vertex2d(this->getSizeX2D() -1, this->getSizeY2D()-1);97 gl Vertex2d(this->getSizeX2D()-1,1);94 glTexCoord2i(0,0); glVertex2d(1, 1); 95 glTexCoord2i(0,1); glVertex2d(1, this->getSizeY2D() - 1); 96 glTexCoord2i(1,1); glVertex2d(this->getSizeX2D() - 1, this->getSizeY2D() -1); 97 glTexCoord2i(1,0); glVertex2d(this->getSizeX2D() - 1, 1); 98 98 99 99 glEnd();
Note: See TracChangeset
for help on using the changeset viewer.