Changeset 8674 in orxonox.OLD for branches/gui/src/lib
- Timestamp:
- Jun 21, 2006, 3:57:37 PM (19 years ago)
- Location:
- branches/gui/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_button.cc
r8672 r8674 98 98 99 99 100 bool GLGuiButton::processEvent(const Event& event) 101 { 102 if (event.type == SDLK_SPACE && !event.bPressed) 103 { 104 emit(released()); 105 return true; 106 } 107 return false; 108 } 109 110 100 111 /** 101 112 * @brief draws the GLGuiButton -
branches/gui/src/lib/gui/gl/glgui_button.h
r8667 r8674 40 40 41 41 virtual void draw() const; 42 virtual bool processEvent(const Event& event); 42 43 43 44 DeclareSignal0(clicked); 44 45 DeclareSignal0(released); 46 45 47 46 48 protected:
Note: See TracChangeset
for help on using the changeset viewer.