You've already forked godot
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:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user