You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add a dialog to customize run instances
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user