Changeset 8740 in orxonox.OLD for trunk/src/lib/gui/gl
- Timestamp:
- Jun 23, 2006, 11:22:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_button.cc
r8717 r8740 100 100 bool GLGuiButton::processEvent(const Event& event) 101 101 { 102 if (event.type == SDLK_SPACE && !event.bPressed)102 if (event.type == SDLK_SPACE) 103 103 { 104 emit(released()); 104 if (event.bPressed) 105 emit(pushed()); 106 else 107 emit(released()); 105 108 return true; 106 109 }
Note: See TracChangeset
for help on using the changeset viewer.