diff options
author | Saracen <SaracenOne@gmail.com> | 2016-01-03 04:18:28 +0000 |
---|---|---|
committer | Saracen <SaracenOne@gmail.com> | 2016-03-12 16:38:12 +0000 |
commit | 6eb4812317bc5207444ddbfe887d06969969b669 (patch) | |
tree | 507901307887e4fb93d86917d79a552e264af042 /platform/windows/os_windows.h | |
parent | 8b1dcbfe4d92f9d7273bbd2f1eb805e5c508961a (diff) |
Borderless window support for the Win32 build. Default window position is now also centred.
Diffstat (limited to 'platform/windows/os_windows.h')
-rw-r--r-- | platform/windows/os_windows.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 28bb30b370..3116847daa 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -179,6 +179,7 @@ protected: Vector<MonitorInfo> monitor_info; bool maximized; bool minimized; + bool borderless; static BOOL CALLBACK MonitorEnumProc(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData); @@ -223,6 +224,9 @@ public: virtual void set_window_maximized(bool p_enabled); virtual bool is_window_maximized() const; + virtual void set_borderless_window(int p_borderless); + virtual bool get_borderless_window(); + virtual MainLoop *get_main_loop() const; virtual String get_name(); |