From 188bfbdc024afe71be191d17a12bf5bf12077065 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Apr 2012 01:24:19 +0300 Subject: Add option in settings to center window on screen (windows and osx) --- src/gui/setup_visual.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui') 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)); } -- cgit v1.2.3-70-g09d2