Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8335 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jun 13, 2006, 12:22:37 AM (18 years ago)
Author:
bensch
Message:

draw better gui

Location:
trunk/src/lib/gui/gl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_slider.cc

    r8145 r8335  
    231231    this->drawRect(this->frontRect());
    232232
    233     this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, 0*this->borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom()) +20));
     233    this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, 0*this->borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom()) ));
    234234
    235235    this->endDraw();
  • trunk/src/lib/gui/gl/glgui_widget.cc

    r8312 r8335  
    7171    this->_borderLeft = 1.0;
    7272    this->_borderRight = 1.0;
    73     this->_borderTop = 20.0;
     73    this->_borderTop = 1.0;
    7474    this->_borderBottom = 1.0;
    7575  }
Note: See TracChangeset for help on using the changeset viewer.