Mercurial > fife-parpg
diff engine/core/eventchannel/mouse/ec_mouseevent.h @ 378:64738befdf3b
bringing in the changes from the build_system_rework branch in preparation for the 0.3.0 release. This commit will require the Jan2010 devkit. Clients will also need to be modified to the new way to import fife.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 11 Jan 2010 23:34:52 +0000 |
parents | 90005975cdbb |
children | 010da1d1ee1c |
line wrap: on
line diff
--- a/engine/core/eventchannel/mouse/ec_mouseevent.h Wed Dec 09 17:01:52 2009 +0000 +++ b/engine/core/eventchannel/mouse/ec_mouseevent.h Mon Jan 11 23:34:52 2010 +0000 @@ -151,7 +151,7 @@ /** Returns string representation of given event type */ - inline std::string mouseEventType2str(MouseEventType t) const { + inline static std::string mouseEventType2str(MouseEventType t) { std::string s("unknown"); switch (t) { case MouseEvent::MOVED: @@ -189,7 +189,7 @@ /** Returns string representation of given button type */ - inline std::string mouseButtonType2str(MouseButtonType t) const { + inline static std::string mouseButtonType2str(MouseButtonType t) { std::string s("unknown"); switch (t) { case MouseEvent::EMPTY: