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/theme.h | |
parent | 9d66ae92ac714b4a4b21e588a3e2d481c352cd60 (diff) | |
download | plus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.gz plus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.bz2 plus-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.xz plus-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/theme.h')
-rw-r--r-- | src/gui/theme.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h index a19e93812..bd5e27708 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -361,6 +361,12 @@ class Theme final : public Palette, public ConfigListener static ThemeInfo *loadInfo(const std::string &themeName) A_WARN_UNUSED; + static SDL_Rect *getKeybRect() +#ifdef ANDROID + { return mKeybRect; } +#else + { return nullptr; } +#endif private: Theme(); @@ -391,6 +397,9 @@ class Theme final : public Palette, public ConfigListener typedef std::vector<DyePalette*> ProgressColors; ProgressColors mProgressColors; +#ifdef ANDROID + static SDL_Rect *mKeybRect; +#endif }; #endif |