diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-20 15:48:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 15:48:08 +0100 |
commit | 450bdda97a933ed9081efa20bddc71ee0b8286c9 (patch) | |
tree | a17e49d24adfeab5fdfc64749ea38ccd1146eb52 /core | |
parent | 30a82e5e007dfa6eca0bc2021381beae57293b91 (diff) | |
parent | 55fae24710eaaca482cb2adfcf3b81546e71414c (diff) |
Merge pull request #12387 from santouits/x1111
Fix x11 boot logo position in fullscreen and in maximized
Diffstat (limited to 'core')
-rw-r--r-- | core/os/os.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h index 474cb60627..e48e5c6d70 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -90,13 +90,15 @@ public: bool fullscreen; bool resizable; bool borderless_window; + bool maximized; float get_aspect() const { return (float)width / (float)height; } - VideoMode(int p_width = 1024, int p_height = 600, bool p_fullscreen = false, bool p_resizable = true, bool p_borderless_window = false) { + VideoMode(int p_width = 1024, int p_height = 600, bool p_fullscreen = false, bool p_resizable = true, bool p_borderless_window = false, bool p_maximized = false) { width = p_width; height = p_height; fullscreen = p_fullscreen; resizable = p_resizable; borderless_window = p_borderless_window; + maximized = p_maximized; } }; |