Changeset 8140 in orxonox.OLD for branches/gui/src/lib
- Timestamp:
- Jun 4, 2006, 12:36:45 AM (19 years ago)
- Location:
- branches/gui/src/lib
- Files:
-
- 6 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/BuildLibs.am
r7954 r8140 3 3 $(LIB_PREFIX)/libORXlibs.a \ 4 4 $(LIB_PREFIX)/shell/libORXshell.a \ 5 $(LIB_PREFIX)/gui/qt _gui/libORXqtgui.a \6 $(LIB_PREFIX)/gui/gl _gui/libORXglgui.a \5 $(LIB_PREFIX)/gui/qt/libORXqtgui.a \ 6 $(LIB_PREFIX)/gui/gl/libORXglgui.a \ 7 7 $(LIB_PREFIX)/gui/libORXbasegui.a \ 8 8 $(LIB_PREFIX)/graphics/importer/libORXimporter.a \ -
branches/gui/src/lib/gui/Makefile.am
r7661 r8140 23 23 SUBDIRS = \ 24 24 . \ 25 gl _gui\26 qt _gui25 gl \ 26 qt 27 27 28 28 # gtk_gui -
branches/gui/src/lib/gui/gl/glgui_slider.cc
r8117 r8140 161 161 { 162 162 GLGuiWidget::resize(); 163 this->frontRect().setTopLeft( 5, this->getSizeY2D()/2.0 - 2.0);164 this->frontRect().setSize(this->getSizeX2D() - 10.0, 4.0);163 this->frontRect().setTopLeft(this->borderLeft(), this->getSizeY2D()/2.0 - 2.0); 164 this->frontRect().setSize(this->getSizeX2D() - borderLeft() - borderRight(), 4.0); 165 165 } 166 166 … … 231 231 this->drawRect(this->frontRect()); 232 232 233 this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom())));233 this->drawRect(Rect2D(this->sliderPosition()-_sliderWidth/2.0, 0*this->borderTop(), _sliderWidth, this->getSizeY2D() - (borderTop() + borderBottom()) +20)); 234 234 235 235 this->endDraw(); -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8118 r8140 71 71 this->_borderLeft = 1.0; 72 72 this->_borderRight = 1.0; 73 this->_borderTop = 1.0;73 this->_borderTop = 20.0; 74 74 this->_borderBottom = 1.0; 75 75 } -
branches/gui/src/lib/gui/gl/glgui_widget.h
r8115 r8140 160 160 float _borderBottom; 161 161 162 Vector2D _minSize; 163 162 164 /// EVENTS 163 165 bool _focusable; //!< If this widget can receive focus. -
branches/gui/src/lib/math/rect2D.cc
r7919 r8140 36 36 Rect2D::Rect2D(float x, float y, float width, float height) 37 37 { 38 this->setLeft(x), this->setTop(y); 38 this->setLeft(x), 39 this->setTop(y); 39 40 this->setSize(width, height); 40 41 }
Note: See TracChangeset
for help on using the changeset viewer.