summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-04 20:13:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-04 20:13:03 +0300
commit1bcaac517036751a8fee9ff3d6561f5866e6969e (patch)
tree613a487a7284166b9bf69eb9e4779dc55d0b0d6f /src
parent855be50d7eb2566e0c5cad2515e22a159e71a712 (diff)
downloadmanaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.gz
manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.bz2
manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.xz
manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.zip
Disable some options under Android.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_video.cpp4
-rw-r--r--src/gui/setup_visual.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 78cdd4ce2..476640c46 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -306,6 +306,10 @@ Setup_Video::Setup_Video(const Widget2 *const widget) :
#ifndef ANDROID
place(0, 8, mDetectButton);
+#else
+ mNoFrameCheckBox->setEnabled(false);
+ mEnableResizeCheckBox->setEnabled(false);
+ mFsCheckBox->setEnabled(false);
#endif
int width = 600;
diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp
index 7b35df3a1..e1ef59e06 100644
--- a/src/gui/setup_visual.cpp
+++ b/src/gui/setup_visual.cpp
@@ -56,8 +56,10 @@ Setup_Visual::Setup_Visual(const Widget2 *const widget) :
new SetupItemLabel(_("Effects"), "", this);
+#ifndef ANDROID
new SetupItemCheckBox(_("Grab mouse and keyboard input"),
"", "grabinput", this, "grabinputEvent");
+#endif
new SetupItemCheckBox(_("Blurring textures (OpenGL)"),
"", "blur", this, "blurEvent");