From 1933978cb800c2348e8891c69b28e85c9417b32d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Mar 2012 17:17:02 +0300 Subject: Use FBO for screenshots. Disabled for windows. --- src/gui/setup_other.cpp | 5 +++++ src/gui/setup_visual.cpp | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'src/gui') 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); -- cgit v1.2.3-70-g09d2