comparison engine/core/gui/guimanager.h @ 255:51cc05d862f2

Merged editor_rewrite branch to trunk. This contains changes that may break compatibility against existing clients. For a list of changes that may affect your client, see: http://wiki.fifengine.de/Changes_to_pychan_and_FIFE_in_editor_rewrite_branch
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Jun 2009 16:00:02 +0000
parents bb9902910067
children 64738befdf3b
comparison
equal deleted inserted replaced
254:10b5f7f36dd4 255:51cc05d862f2
139 bool onSdlEvent(SDL_Event& evt); 139 bool onSdlEvent(SDL_Event& evt);
140 140
141 KeyEvent translateKeyEvent(const gcn::KeyEvent& evt); 141 KeyEvent translateKeyEvent(const gcn::KeyEvent& evt);
142 MouseEvent translateMouseEvent(const gcn::MouseEvent& evt); 142 MouseEvent translateMouseEvent(const gcn::MouseEvent& evt);
143 143
144 protected:
145 int convertGuichanKeyToFifeKey(int value);
146
144 private: 147 private:
145 // The Guichan GUI. 148 // The Guichan GUI.
146 gcn::Gui* m_gcn_gui; 149 gcn::Gui* m_gcn_gui;
147 // Focus handler for input management 150 // Focus handler for input management
148 gcn::FocusHandler* m_focushandler; 151 gcn::FocusHandler* m_focushandler;