diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-02-14 00:14:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 00:14:59 +0100 |
commit | 71ea00a358d430a110ae142ef548b5e720b622b0 (patch) | |
tree | b7674b9f4f93f95fda5c536595e98f13d33d8ac5 /platform/osx/os_osx.h | |
parent | ba106ae51c01c45ccca2c599357d4304482b78fb (diff) | |
parent | ea1d726a4603fdd6bd4dfa6c1fa3128cfb2915c7 (diff) |
Merge pull request #16648 from marcelofg55/center_window
Added OS::center_window to center the window precisely on desktop platforms
Diffstat (limited to 'platform/osx/os_osx.h')
-rw-r--r-- | platform/osx/os_osx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h index d9ad0a7db8..0199bf0fc1 100644 --- a/platform/osx/os_osx.h +++ b/platform/osx/os_osx.h @@ -167,6 +167,7 @@ public: virtual void set_window_title(const String &p_title); virtual Size2 get_window_size() const; + virtual Size2 get_real_window_size() const; virtual void set_icon(const Ref<Image> &p_icon); |