summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-25 15:54:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-25 15:54:28 +0300
commit7506dbed4cf9ae76058283f4abc799bdf4614b3d (patch)
tree2f6804f898aba4d74dedece4d739559aa24de099 /src/gui
parent8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8 (diff)
downloadplus-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.gz
plus-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.bz2
plus-7506dbed4cf9ae76058283f4abc799bdf4614b3d.tar.xz
plus-7506dbed4cf9ae76058283f4abc799bdf4614b3d.zip
Remove unused code for Android keyboard.
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