Mercurial > fife-parpg
diff engine/core/eventchannel/base/ec_inputevent.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 |
line wrap: on
line diff
--- a/engine/core/eventchannel/base/ec_inputevent.h Tue Jul 01 17:43:35 2008 +0000 +++ b/engine/core/eventchannel/base/ec_inputevent.h Wed Jul 02 10:57:23 2008 +0000 @@ -45,7 +45,7 @@ */ InputEvent(): Event(), - m_consumedbyguichan(false), + m_consumedbywidgets(false), m_isshiftpressed(false), m_iscontrolpressed(false), m_isaltpressed(false), @@ -75,10 +75,10 @@ virtual bool isShiftPressed() const { return m_isshiftpressed; } virtual void setShiftPressed(bool pressed) { m_isshiftpressed = pressed; } - /** Marks events as consumed by guichan. + /** Marks events as consumed by widget library. */ - virtual void consumedByGuichan() { m_consumedbyguichan = true; } - virtual bool isConsumedByGuichan() const { return m_consumedbyguichan; } + virtual void consumedByWidgets() { m_consumedbywidgets = true; } + virtual bool isConsumedByWidgets() const { return m_consumedbywidgets; } virtual void consume() { Event::consume(); } virtual bool isConsumed() const { return Event::isConsumed(); } @@ -107,7 +107,7 @@ private: - bool m_consumedbyguichan; + bool m_consumedbywidgets; bool m_isshiftpressed; bool m_iscontrolpressed; bool m_isaltpressed;