From b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Dec 2012 20:57:16 +0300 Subject: Add option to disable gamma correction. Gamma correction disable by default for MacOSX. --- src/gui/setup_visual.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/gui/setup_visual.cpp') diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp index e1ef59e06..835c3640f 100644 --- a/src/gui/setup_visual.cpp +++ b/src/gui/setup_visual.cpp @@ -97,11 +97,18 @@ Setup_Visual::Setup_Visual(const Widget2 *const widget) : new SetupItemSlider2(_("Particle physics"), "", "particleFastPhysics", this, "particleFastPhysicsEvent", 0, 2, mParticleTypeList); - new SetupItemLabel(_("Other"), "", this); + + new SetupItemLabel(_("Gamma"), "", this); + + new SetupItemCheckBox(_("Enable gamma control"), + "", "enableGamma", this, "enableGammaEvent"); new SetupItemSlider(_("Gamma"), "", "gamma", this, "gammeEvent", 1, 20, 350, true); + + new SetupItemLabel(_("Other"), "", this); + mVSyncList->push_back(_("default")); mVSyncList->push_back(_("off")); mVSyncList->push_back(_("on")); -- cgit v1.2.3-60-g2f50