diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-21 01:24:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-21 01:24:19 +0300 |
commit | 188bfbdc024afe71be191d17a12bf5bf12077065 (patch) | |
tree | f7d6f127e9f39d844e42cc1e28aa1d7cbbe3fa03 /src/gui/setup_visual.cpp | |
parent | 7432e8857d5e58953326e49e24f79a1fcdbeaef2 (diff) | |
download | manaverse-188bfbdc024afe71be191d17a12bf5bf12077065.tar.gz manaverse-188bfbdc024afe71be191d17a12bf5bf12077065.tar.bz2 manaverse-188bfbdc024afe71be191d17a12bf5bf12077065.tar.xz manaverse-188bfbdc024afe71be191d17a12bf5bf12077065.zip |
Add option in settings to center window on screen (windows and osx)
Diffstat (limited to 'src/gui/setup_visual.cpp')
-rw-r--r-- | src/gui/setup_visual.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup_visual.cpp b/src/gui/setup_visual.cpp index 368ceeee8..8cd052dd7 100644 --- a/src/gui/setup_visual.cpp +++ b/src/gui/setup_visual.cpp @@ -98,6 +98,11 @@ Setup_Visual::Setup_Visual() new SetupItemSlider2(_("Vsync"), "", "vsync", this, "vsyncEvent", 0, 2, mVSyncList); +#if defined(WIN32) || defined(__APPLE__) + new SetupItemCheckBox(_("Center game window"), + "", "centerwindow", this, "centerwindowEvent"); +#endif + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |