summaryrefslogtreecommitdiff
path: root/servers/display_server.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-20 11:12:49 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-20 12:55:59 +0300
commit0ed4cc6287fba3b8b42dc97e6ca465f193bdc3e4 (patch)
tree3966fc2ef72c6247dfbc58129144b32a21fc1945 /servers/display_server.h
parentaa553f403099a31520ab0c75a43f352642170d5f (diff)
[macOS] Add an option to align window buttons in "extend to title" mode.
Diffstat (limited to 'servers/display_server.h')
-rw-r--r--servers/display_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/display_server.h b/servers/display_server.h
index ab4f9fc499..42c254cd2f 100644
--- a/servers/display_server.h
+++ b/servers/display_server.h
@@ -380,7 +380,8 @@ public:
virtual void window_request_attention(WindowID p_window = MAIN_WINDOW_ID) = 0;
virtual void window_move_to_foreground(WindowID p_window = MAIN_WINDOW_ID) = 0;
- virtual Vector2i window_get_safe_title_margins(WindowID p_window = MAIN_WINDOW_ID) const { return Vector2i(); };
+ virtual void window_set_window_buttons_offset(const Vector2i &p_offset, WindowID p_window = MAIN_WINDOW_ID) {}
+ virtual Vector2i window_get_safe_title_margins(WindowID p_window = MAIN_WINDOW_ID) const { return Vector2i(); }
virtual bool window_can_draw(WindowID p_window = MAIN_WINDOW_ID) const = 0;