summaryrefslogtreecommitdiff
path: root/src/gui/setup_visual.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-17 20:57:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-17 20:57:16 +0300
commitb0d439c392d9ef3ccaf29eca70e16bd3618c7bb0 (patch)
tree5d1e7a8faf9f8ca3537a1b3658a5aacad518774e /src/gui/setup_visual.cpp
parentd220dec50c6fb9218092e8caab87fcee6ef11e71 (diff)
downloadplus-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.gz
plus-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.bz2
plus-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.xz
plus-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.zip
Add option to disable gamma correction.
Gamma correction disable by default for MacOSX.
Diffstat (limited to 'src/gui/setup_visual.cpp')
-rw-r--r--src/gui/setup_visual.cpp9
1 files changed, 8 insertions, 1 deletions
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"));