Changeset 8717 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_slider.cc
- Timestamp:
- Jun 22, 2006, 2:04:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_slider.cc
r8619 r8717 48 48 this->setClassID(CL_GLGUI_SLIDER, "GLGuiSlider"); 49 49 50 this->setClickable( ); 51 this->setFocusable( ); 50 this->setClickable(true); 51 this->setFocusable(true); 52 this->setSelectable(true); 52 53 53 54 this->_value = 0.0; … … 193 194 } 194 195 195 void GLGuiSlider::releasing(const Vector2D& pos )196 { 197 GLGuiWidget::releasing(pos );196 void GLGuiSlider::releasing(const Vector2D& pos, bool focused) 197 { 198 GLGuiWidget::releasing(pos, focused); 198 199 this->grabbed = false; 199 200 } … … 202 203 { 203 204 GLGuiWidget::removedFocus(); 204 this->grabbed = false;205 205 } 206 206
Note: See TracChangeset
for help on using the changeset viewer.