summaryrefslogtreecommitdiff
path: root/platform/haiku
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-08-20 16:12:29 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-08-21 18:28:29 -0300
commit63f847b3065bb7c7a130a199731b4d92a7bdfb91 (patch)
treed9a1ea56e14cd11417a8abd6acead4a028a6d0d2 /platform/haiku
parentf6c39830cb7cf0d664bdfa25642b333a1249b96f (diff)
p_screen param from get_screen_* funcs now default to the current screen
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/os_haiku.h4
1 files changed, 2 insertions, 2 deletions
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);