From 15a9f94346c211b7afe96af500cb3405aabcf6b8 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sat, 7 Mar 2020 18:02:54 +0200 Subject: Add macOS DisplayServer implementation. Change global menu to use Callable, add support for check items and submenus. --- editor/editor_node.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editor/editor_node.h') diff --git a/editor/editor_node.h b/editor/editor_node.h index 88ebf4d475..21025f2a50 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -498,7 +498,8 @@ private: void _add_to_recent_scenes(const String &p_scene); void _update_recent_scenes(); void _open_recent_scene(int p_idx); - void _global_menu_action(const Variant &p_id, const Variant &p_meta); + void _global_menu_scene(const Variant &p_tag); + void _global_menu_new_window(const Variant &p_tag); void _dropped_files(const Vector &p_files, int p_screen); void _add_dropped_files_recursive(const Vector &p_files, String to_path); String _recent_scene; -- cgit v1.2.3