From 63f847b3065bb7c7a130a199731b4d92a7bdfb91 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 20 Aug 2017 16:12:29 -0300 Subject: p_screen param from get_screen_* funcs now default to the current screen --- platform/haiku/os_haiku.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/haiku') diff --git a/platform/haiku/os_haiku.h b/platform/haiku/os_haiku.h index 256c9eecf7..4440f2843d 100644 --- a/platform/haiku/os_haiku.h +++ b/platform/haiku/os_haiku.h @@ -96,8 +96,8 @@ public: virtual int get_screen_count() const; virtual int get_current_screen() const; virtual void set_current_screen(int p_screen); - virtual Point2 get_screen_position(int p_screen = 0) const; - virtual Size2 get_screen_size(int p_screen = 0) const; + virtual Point2 get_screen_position(int p_screen = -1) const; + virtual Size2 get_screen_size(int p_screen = -1) const; virtual void set_window_title(const String &p_title); virtual Size2 get_window_size() const; virtual void set_window_size(const Size2 p_size); -- cgit v1.2.3