summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-02 17:17:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-02 17:58:42 +0300
commit1933978cb800c2348e8891c69b28e85c9417b32d (patch)
tree955fc9530dcd4ed4ecb60ad9c38e213c77610d6d /src/gui
parent2f3a3d08b0ba71972e20ae639a2077e9d4d17b94 (diff)
downloadplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.gz
plus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.bz2
plus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.xz
plus-1933978cb800c2348e8891c69b28e85c9417b32d.zip
Use FBO for screenshots. Disabled for windows.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_other.cpp5
-rw-r--r--src/gui/setup_visual.cpp6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index 3ea5f4e4a..148037732 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -183,6 +183,11 @@ Setup_Other::Setup_Other()
new SetupItemCheckBox(_("Hide shield sprite"), "", "hideShield",
this, "hideShieldEvent");
+#if !defined(_WIN32)
+ new SetupItemCheckBox(_("Use FBO for screenshots (only for opengl)"),
+ "", "usefbo", this, "usefboEvent");
+#endif
+
new SetupItemCheckBox(_("Show background"), "", "showBackground",
this, "showBackgroundEvent");
diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp
index 55e219bd7..68704956a 100644
--- a/src/gui/setup_visual.cpp
+++ b/src/gui/setup_visual.cpp
@@ -41,12 +41,16 @@ Setup_Visual::Setup_Visual()
mPreferredFirstItemSize = 150;
+ new SetupItemLabel(_("Notifications"), "", this);
+
new SetupItemCheckBox(_("Show pickup notifications in chat"), "",
"showpickupchat", this, "showpickupchatEvent");
new SetupItemCheckBox(_("Show pickup notifications as particle effects"),
"", "showpickupparticle", this, "showpickupparticleEvent");
+ new SetupItemLabel(_("Effects"), "", this);
+
new SetupItemCheckBox(_("Grab mouse and keyboard input"),
"", "grabinput", this, "grabinputEvent");
@@ -80,6 +84,8 @@ Setup_Visual::Setup_Visual()
this, "particleEmitterSkipEvent", 0, 3,
mParticleList, true))->setInvertValue(3);
+ new SetupItemLabel(_("Other"), "", this);
+
new SetupItemSlider(_("Gamma"), "", "gamma",
this, "gammeEvent", 1, 20, 350, true);