diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 21:41:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 21:41:08 +0300 |
commit | cf1744f779b38bdc3e5119ab831037ff3228a898 (patch) | |
tree | ace3e1d03b55b0a861d3150e36c8fafda9fc2994 /src/gui/setup_visual.cpp | |
parent | d9994f114b1febf4c075d77c0fb3e7a44e510e20 (diff) | |
download | manaverse-cf1744f779b38bdc3e5119ab831037ff3228a898.tar.gz manaverse-cf1744f779b38bdc3e5119ab831037ff3228a898.tar.bz2 manaverse-cf1744f779b38bdc3e5119ab831037ff3228a898.tar.xz manaverse-cf1744f779b38bdc3e5119ab831037ff3228a898.zip |
Add option to allow screensaver. (by default screensaver disabled)
Diffstat (limited to 'src/gui/setup_visual.cpp')
-rw-r--r-- | src/gui/setup_visual.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp index a7d83b11d..7b35df3a1 100644 --- a/src/gui/setup_visual.cpp +++ b/src/gui/setup_visual.cpp @@ -111,6 +111,9 @@ Setup_Visual::Setup_Visual(const Widget2 *const widget) : "", "centerwindow", this, "centerwindowEvent"); #endif + new SetupItemCheckBox(_("Allow screensaver to run"), + "", "allowscreensaver", this, "allowscreensaverEvent"); + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |