Mercurial > fife-parpg
comparison engine/core/eventchannel/eventchannel.i @ 2:e84dccee1bb7
* add myself to authors
* fix missing break in guimanager
* when an event occurs over an guichan window the event is marked as consumedByGuichan, but the event is still distributed to all event listeners, those can check via event.isConsumedByGuichan...
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 01 Jul 2008 17:43:35 +0000 |
parents | 4a0efb7baf70 |
children | 6387bbc0c2d5 |
comparison
equal
deleted
inserted
replaced
1:2082bf27a3b8 | 2:e84dccee1bb7 |
---|---|
64 Event(); | 64 Event(); |
65 }; | 65 }; |
66 | 66 |
67 class InputEvent: public Event { | 67 class InputEvent: public Event { |
68 public: | 68 public: |
69 virtual bool isConsumedByGuichan() const; | |
69 virtual bool isAltPressed() const; | 70 virtual bool isAltPressed() const; |
70 virtual bool isControlPressed() const; | 71 virtual bool isControlPressed() const; |
71 virtual bool isMetaPressed() const; | 72 virtual bool isMetaPressed() const; |
72 virtual bool isShiftPressed() const; | 73 virtual bool isShiftPressed() const; |
73 virtual ~IInputEvent() {} | 74 virtual ~IInputEvent() {} |