Add centered flag to setMode, optionally centers the window (on by default, as before) (issue #463)

This commit is contained in:
Bart van Strien
2013-03-10 23:00:31 +01:00
parent 63c57ba3f8
commit 7efe11b11f
7 changed files with 39 additions and 3 deletions
+2
View File
@@ -35,11 +35,13 @@ namespace window
struct WindowFlags
{
WindowFlags();
bool fullscreen; // = false
bool vsync; // = true
int fsaa; // = 0
bool resizable; // = false
bool borderless; // = false
bool centered; // = true
}; // WindowFlags
class Window : public Module