Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6305 in orxonox.OLD for trunk/src/lib/gui/gl_gui


Ignore:
Timestamp:
Dec 26, 2005, 1:46:16 PM (19 years ago)
Author:
bensch
Message:

trunk: removed unused Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_bar.cc

    r6295 r6305  
    6767  glBegin(GL_QUADS);
    6868
    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);
    7373
    7474  glEnd();
Note: See TracChangeset for help on using the changeset viewer.