Changeset 7997 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_checkbutton.cc
- Timestamp:
- May 30, 2006, 11:34:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_checkbutton.cc
r7985 r7997 52 52 } 53 53 54 void GLGuiCheckButton::setActivity(bool bActive) 55 { 56 this->bActive = bActive; 57 emit(this->toggled(this->bActive)); 58 } 54 59 55 60 void GLGuiCheckButton::toggleActiveState() 56 61 { 57 this-> bActive = !this->bActive;62 this->setActivity(!this->isActive()); 58 63 } 59 64 … … 70 75 void GLGuiCheckButton::releasing(const Vector2D& pos) 71 76 { 72 printf("%s released\n", this->getLabel().c_str());73 77 GLGuiButton::releasing(pos); 74 78 this->toggleActiveState();
Note: See TracChangeset
for help on using the changeset viewer.