diff options
author | steve <steve@relm.local> | 2015-03-23 18:55:45 -0700 |
---|---|---|
committer | steve <steve@relm.local> | 2015-03-23 18:55:45 -0700 |
commit | e3957e32deb80db1200082a8d6b4e429bbdbb4f4 (patch) | |
tree | 5ef4145be78cf39a5389431573d06879e1f9ca5b /platform | |
parent | 3cf9490c46fdcc434cdfddf9dfd5a8e673409f0f (diff) |
fixed iphone build with new window manamenet changes
Diffstat (limited to 'platform')
-rw-r--r-- | platform/iphone/os_iphone.cpp | 5 | ||||
-rw-r--r-- | platform/iphone/os_iphone.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/iphone/os_iphone.cpp b/platform/iphone/os_iphone.cpp index aee5f76684..06b48318ec 100644 --- a/platform/iphone/os_iphone.cpp +++ b/platform/iphone/os_iphone.cpp @@ -474,6 +474,11 @@ String OSIPhone::get_name() { return "iOS"; }; +Size2 OSIPhone::get_window_size() const { + + return Vector2(video_mode.width, video_mode.height); +} + bool OSIPhone::has_touchscreen_ui_hint() const { return true; diff --git a/platform/iphone/os_iphone.h b/platform/iphone/os_iphone.h index cb294d07eb..2585a26479 100644 --- a/platform/iphone/os_iphone.h +++ b/platform/iphone/os_iphone.h @@ -167,6 +167,8 @@ public: virtual void hide_virtual_keyboard(); virtual void set_cursor_shape(CursorShape p_shape); + + virtual Size2 get_window_size() const; virtual bool has_touchscreen_ui_hint() const; |