Changeset 7884 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_widget.h
- Timestamp:
- May 27, 2006, 2:24:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_widget.h
r7883 r7884 61 61 /// FOCUS 62 62 /** @brief gives focus to this widget */ 63 void giveFocus() { GLGuiWidget::_focused = this; this->receivedFocus(); };64 void breakFocus() { GLGuiWidget::_focused = NULL; this->removedFocus(); };63 void giveFocus(); 64 void breakFocus(); 65 65 /** @returns true if the widget is focusable */ 66 66 bool focusable() const { return this->_focusable; }; … … 77 77 78 78 /// CLICK 79 void click(); 80 void release(); 79 81 bool clickable() const { return this->_clickable; }; 80 82 void setClickable(bool clickable = true) { this->_clickable = clickable; }; 81 void click() { this->clicked(); };82 void release() { this->released(); };83 83 84 84 virtual void update() {};
Note: See TracChangeset
for help on using the changeset viewer.