diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-02-06 15:57:06 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-08-26 16:45:49 +0300 |
commit | db6d4352ea528e925c69ee94f6fb9bc0942719ec (patch) | |
tree | 864bb7a3b90ea000ec0b1881f670f4596133aadd /core/bind/core_bind.h | |
parent | 4b53fdb25d545b0a2fc73f6a46775ced586994b7 (diff) | |
download | redot-engine-db6d4352ea528e925c69ee94f6fb9bc0942719ec.tar.gz |
[macOS] Add methods to modify global and dock menus. Add ability to open multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index f0f86e003f..76ba2dc0a5 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -143,6 +143,11 @@ public: MONTH_DECEMBER }; + void global_menu_add_item(const String &p_menu, const String &p_label, const Variant &p_signal, const Variant &p_meta); + void global_menu_add_separator(const String &p_menu); + void global_menu_remove_item(const String &p_menu, int p_idx); + void global_menu_clear(const String &p_menu); + Point2 get_mouse_position() const; void set_window_title(const String &p_title); int get_mouse_button_state() const; |