summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/theme.cpp6
-rw-r--r--src/gui/theme.h9
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