From 363223352ee9c4c7c1d65e49cf48b38b538abaf2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Nov 2012 01:53:40 +0300 Subject: Moving Android on screen keyboard button from SDL to ManaPlus. Also add basic functions for handling other on screen buttons. --- src/gui/theme.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gui/theme.h') 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 ProgressColors; ProgressColors mProgressColors; +#ifdef ANDROID + static SDL_Rect *mKeybRect; +#endif }; #endif -- cgit v1.2.3-60-g2f50