diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-25 15:54:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-25 15:54:28 +0300 |
commit | 7506dbed4cf9ae76058283f4abc799bdf4614b3d (patch) | |
tree | 2f6804f898aba4d74dedece4d739559aa24de099 /src | |
parent | 8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8 (diff) | |
download | mv-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.gz mv-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.bz2 mv-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.xz mv-7506dbed4cf9ae76058283f4abc799bdf4614b3d.zip |
Remove unused code for Android keyboard.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/theme.cpp | 6 | ||||
-rw-r--r-- | src/gui/theme.h | 9 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 3e7775b63..042373250 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -46,9 +46,6 @@ static std::string defaultThemePath; std::string Theme::mThemePath; std::string Theme::mThemeName; Theme *Theme::mInstance = nullptr; -#ifdef ANDROID -SDL_Rect *Theme::mKeybRect = nullptr; -#endif // Set the theme path... static void initDefaultThemePath() @@ -652,9 +649,6 @@ void Theme::fillSoundsList(StringVect &list) void Theme::selectSkin() { prepareThemePath(); -#ifdef ANDROID - mKeybRect = SDL_GetScreenKeyboardBlock(); -#endif } void Theme::prepareThemePath() diff --git a/src/gui/theme.h b/src/gui/theme.h index 4476d2509..213799788 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -407,12 +407,6 @@ 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(); @@ -443,9 +437,6 @@ class Theme final : public Palette, public ConfigListener typedef std::vector<DyePalette*> ProgressColors; ProgressColors mProgressColors; -#ifdef ANDROID - static SDL_Rect *mKeybRect; -#endif }; #endif |