summaryrefslogtreecommitdiffstats
path: root/editor/plugins/debugger_editor_plugin.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-09-13 19:07:25 +0200
committerkobewi <kobewi4e@gmail.com>2024-02-05 19:07:31 +0100
commit5ab9e50461d02aaa5277abb4a7ffe84e5eeb2509 (patch)
tree4e620ab6dd9c6d96fe1b10ed379bb5c3933635f9 /editor/plugins/debugger_editor_plugin.h
parentd3352813ea44447bfbf135efdec23acc4d1d3f89 (diff)
downloadredot-engine-5ab9e50461d02aaa5277abb4a7ffe84e5eeb2509.tar.gz
Add a dialog to customize run instances
Diffstat (limited to 'editor/plugins/debugger_editor_plugin.h')
-rw-r--r--editor/plugins/debugger_editor_plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/plugins/debugger_editor_plugin.h b/editor/plugins/debugger_editor_plugin.h
index 8d65dbd2e4..b7453e3e81 100644
--- a/editor/plugins/debugger_editor_plugin.h
+++ b/editor/plugins/debugger_editor_plugin.h
@@ -36,6 +36,7 @@
class EditorFileServer;
class MenuButton;
class PopupMenu;
+class RunInstancesDialog;
class DebuggerEditorPlugin : public EditorPlugin {
GDCLASS(DebuggerEditorPlugin, EditorPlugin);
@@ -43,7 +44,7 @@ class DebuggerEditorPlugin : public EditorPlugin {
private:
PopupMenu *debug_menu = nullptr;
EditorFileServer *file_server = nullptr;
- PopupMenu *instances_menu = nullptr;
+ RunInstancesDialog *run_instances_dialog = nullptr;
enum MenuOptions {
RUN_FILE_SERVER,
@@ -56,11 +57,11 @@ private:
RUN_DEPLOY_REMOTE_DEBUG,
RUN_RELOAD_SCRIPTS,
SERVER_KEEP_OPEN,
+ RUN_MULTIPLE_INSTANCES,
};
void _update_debug_options();
void _notification(int p_what);
- void _select_run_count(int p_index);
void _menu_option(int p_option);
public: