diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-09 01:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-12 18:54:58 +0300 |
commit | 363223352ee9c4c7c1d65e49cf48b38b538abaf2 (patch) | |
tree | fd43f37cdcbe02083ef66fdd54baca3f0c709f0b /src/gui/gui.h | |
parent | 9d66ae92ac714b4a4b21e588a3e2d481c352cd60 (diff) | |
download | manaplus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.gz manaplus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.bz2 manaplus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.xz manaplus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.zip |
Moving Android on screen keyboard button from SDL to ManaPlus.
Also add basic functions for handling other on screen buttons.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 74c5404aa..db373193a 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -24,6 +24,7 @@ #define GUI_H #include "resources/cursor.h" +#include "resources/image.h" #include <guichan/gui.hpp> @@ -144,6 +145,8 @@ class Gui final : public gcn::Gui protected: void handleMouseMoved(const gcn::MouseInput &mouseInput); + void handleMouseInput(); + void distributeMouseEvent(gcn::Widget* source, int type, int button, int x, int y, bool force = false, bool toSourceOnly = false); |