- Timestamp:
- Jun 21, 2006, 2:11:21 PM (19 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_checkbutton.cc
r8667 r8669 81 81 { 82 82 GLGuiButton::releasing(pos, focused); 83 this->toggleActiveState(); 83 if (focused) 84 this->toggleActiveState(); 84 85 } 85 86 -
branches/gui/src/lib/gui/gl/glgui_handler.cc
r8667 r8669 210 210 { 211 211 // do not change if we already clicked into a Widget. 212 if (GLGuiWidget::selected() != NULL && GLGuiWidget::selected()->pushed())213 return ;212 // if (GLGuiWidget::selected() != NULL && GLGuiWidget::selected()->pushed()) 213 // return ; 214 214 215 215 this->checkFocus(); -
branches/gui/src/lib/gui/gl/glgui_pushbutton.cc
r8667 r8669 84 84 { 85 85 printf("%s released\n", this->label().c_str()); 86 GLGuiButton::releasing(pos, focused); 86 if (focused) 87 GLGuiButton::releasing(pos, focused); 87 88 } 88 89 -
branches/gui/src/lib/gui/gl/glgui_slider.cc
r8667 r8669 202 202 { 203 203 GLGuiWidget::removedFocus(); 204 this->grabbed = false;205 204 } 206 205 -
branches/gui/src/lib/gui/gl/glgui_widget.cc
r8667 r8669 174 174 void GLGuiWidget::breakMouseFocus() 175 175 { 176 printf("TESTING UNFOCUSING\n"); 176 177 if (GLGuiWidget::_mouseFocused == this) 177 178 { 178 179 GLGuiWidget::_mouseFocused = NULL; 179 this->_pushed = false;180 180 181 181 if (GLGuiWidget::_selected != this)
Note: See TracChangeset
for help on using the changeset viewer.