Mercurial > fife-parpg
comparison engine/core/eventchannel/mouse/ec_mouseevent.h @ 3:6387bbc0c2d5
Changed guichan references in event manager to widgets. This is to keep eventmanager code more independent of guichan.
author | jasoka@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 02 Jul 2008 10:57:23 +0000 |
parents | e84dccee1bb7 |
children | 90005975cdbb |
comparison
equal
deleted
inserted
replaced
2:e84dccee1bb7 | 3:6387bbc0c2d5 |
---|---|
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(); } | 128 virtual void consumedByWidgets() { InputEvent::consumedByWidgets(); } |
129 virtual bool isConsumedByGuichan() const { return InputEvent::isConsumedByGuichan(); } | 129 virtual bool isConsumedByWidgets() const { return InputEvent::isConsumedByWidgets(); } |
130 virtual IEventSource* getSource() { return InputEvent::getSource(); } | 130 virtual IEventSource* getSource() { return InputEvent::getSource(); } |
131 virtual void setSource(IEventSource* source) { InputEvent::setSource(source); } | 131 virtual void setSource(IEventSource* source) { InputEvent::setSource(source); } |
132 virtual gcn::Widget* getSourceWidget() { return InputEvent::getSourceWidget(); } | 132 virtual gcn::Widget* getSourceWidget() { return InputEvent::getSourceWidget(); } |
133 virtual void setSourceWidget(gcn::Widget* widget) { InputEvent::setSourceWidget(widget); } | 133 virtual void setSourceWidget(gcn::Widget* widget) { InputEvent::setSourceWidget(widget); } |
134 virtual int getTimeStamp() const { return InputEvent::getTimeStamp(); } | 134 virtual int getTimeStamp() const { return InputEvent::getTimeStamp(); } |