From 1bcaac517036751a8fee9ff3d6561f5866e6969e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Nov 2012 20:13:03 +0300 Subject: Disable some options under Android. --- src/gui/setup_video.cpp | 4 ++++ src/gui/setup_visual.cpp | 2 ++ 2 files changed, 6 insertions(+) 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"); -- cgit v1.2.3-70-g09d2