summaryrefslogtreecommitdiff
path: root/src/gui/setup_visual.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_visual.cpp')
-rw-r--r--src/gui/setup_visual.cpp5
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));
}