diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-04 20:13:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-04 20:13:03 +0300 |
commit | 1bcaac517036751a8fee9ff3d6561f5866e6969e (patch) | |
tree | 613a487a7284166b9bf69eb9e4779dc55d0b0d6f /src/gui | |
parent | 855be50d7eb2566e0c5cad2515e22a159e71a712 (diff) | |
download | manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.gz manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.bz2 manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.tar.xz manaplus-1bcaac517036751a8fee9ff3d6561f5866e6969e.zip |
Disable some options under Android.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_video.cpp | 4 | ||||
-rw-r--r-- | src/gui/setup_visual.cpp | 2 |
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"); |