Mercurial > fife-parpg
comparison engine/core/eventchannel/mouse/ec_mouseevent.h @ 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 |
---|---|
123 virtual bool isShiftPressed() const { return InputEvent::isShiftPressed(); } | 123 virtual bool isShiftPressed() const { return InputEvent::isShiftPressed(); } |
124 virtual void setShiftPressed(bool pressed) { InputEvent::setShiftPressed(pressed); } | 124 virtual void setShiftPressed(bool pressed) { InputEvent::setShiftPressed(pressed); } |
125 | 125 |
126 virtual void consume() { InputEvent::consume(); } | 126 virtual void consume() { InputEvent::consume(); } |
127 virtual bool isConsumed() const { return InputEvent::isConsumed(); } | 127 virtual bool isConsumed() const { return InputEvent::isConsumed(); } |
128 virtual void consumedByGuichan() { InputEvent::consumedByGuichan(); } | |
129 virtual bool isConsumedByGuichan() const { return InputEvent::isConsumedByGuichan(); } | |
128 virtual IEventSource* getSource() { return InputEvent::getSource(); } | 130 virtual IEventSource* getSource() { return InputEvent::getSource(); } |
129 virtual void setSource(IEventSource* source) { InputEvent::setSource(source); } | 131 virtual void setSource(IEventSource* source) { InputEvent::setSource(source); } |
130 virtual gcn::Widget* getSourceWidget() { return InputEvent::getSourceWidget(); } | 132 virtual gcn::Widget* getSourceWidget() { return InputEvent::getSourceWidget(); } |
131 virtual void setSourceWidget(gcn::Widget* widget) { InputEvent::setSourceWidget(widget); } | 133 virtual void setSourceWidget(gcn::Widget* widget) { InputEvent::setSourceWidget(widget); } |
132 virtual int getTimeStamp() const { return InputEvent::getTimeStamp(); } | 134 virtual int getTimeStamp() const { return InputEvent::getTimeStamp(); } |