From 7506dbed4cf9ae76058283f4abc799bdf4614b3d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Jan 2013 15:54:28 +0300 Subject: Remove unused code for Android keyboard. --- src/gui/theme.cpp | 6 ------ src/gui/theme.h | 9 --------- 2 files changed, 15 deletions(-) (limited to 'src/gui') 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 ProgressColors; ProgressColors mProgressColors; -#ifdef ANDROID - static SDL_Rect *mKeybRect; -#endif }; #endif -- cgit v1.2.3-70-g09d2