fixed iphone build with new window manamenet changes

This commit is contained in:
steve 2015-03-23 18:55:45 -07:00
parent 3cf9490c46
commit e3957e32de
2 changed files with 7 additions and 0 deletions

View file

@ -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;

View file

@ -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;