Changeset 4405 in orxonox.OLD for orxonox/trunk/src/util/event
- Timestamp:
- May 30, 2005, 6:36:43 PM (20 years ago)
- Location:
- orxonox/trunk/src/util/event
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/event/event_handler.cc
r4398 r4405 80 80 } 81 81 82 void EventHandler::subscribe Listener(EventListener* el, elState state, int eventType)82 void EventHandler::subscribe(EventListener* el, elState state, int eventType) 83 83 { 84 84 if( likely(this->listeners[state][eventType] == NULL)) … … 89 89 90 90 91 void EventHandler::unsubscribe Listener(int eventType, elState state)91 void EventHandler::unsubscribe(int eventType, elState state) 92 92 { 93 93 this->listeners[state][eventType] = NULL; -
orxonox/trunk/src/util/event/event_handler.h
r4388 r4405 9 9 10 10 #include "base_object.h" 11 #include "key_mapper.h" 11 12 #include "event_def.h" 12 13 … … 23 24 void setState(elState state); 24 25 25 void subscribe Listener(EventListener* el, elState state, int eventType);26 void unsubscribe Listener(int eventType, elState state);26 void subscribe(EventListener* el, elState state, int eventType); 27 void unsubscribe(int eventType, elState state); 27 28 void flush(elState state); 28 29 -
orxonox/trunk/src/util/event/key_mapper.h
r4403 r4405 14 14 15 15 16 //! Key aliasing structure 17 /** 18 This structure contains the key aliasing information, e.g. the command strings that 19 have been bound to the keys. 20 */ 21 typedef struct 22 { 23 char keys[N_STD_KEYS][CMD_LENGHT]; 24 char buttons[N_BUTTONS][CMD_LENGHT]; 25 } KeyBindings; 16 26 17 27 18 typedef struct orxKeyMapping
Note: See TracChangeset
for help on using the changeset viewer.