1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Implement MenuBar control to wrap PopupMenus or native menu, use native menu for editor.

This commit is contained in:
bruvzg
2022-08-01 12:28:16 +03:00
parent 9bb6cc591c
commit 8c56a7416b
25 changed files with 1951 additions and 374 deletions

View File

@@ -41,7 +41,7 @@ class DebuggerEditorPlugin : public EditorPlugin {
GDCLASS(DebuggerEditorPlugin, EditorPlugin);
private:
MenuButton *debug_menu = nullptr;
PopupMenu *debug_menu = nullptr;
EditorFileServer *file_server = nullptr;
PopupMenu *instances_menu = nullptr;
@@ -64,7 +64,7 @@ public:
virtual String get_name() const override { return "Debugger"; }
bool has_main_screen() const override { return false; }
DebuggerEditorPlugin(MenuButton *p_menu);
DebuggerEditorPlugin(PopupMenu *p_menu);
~DebuggerEditorPlugin();
};