summaryrefslogtreecommitdiff
path: root/editor/plugins/debugger_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/debugger_editor_plugin.h')
-rw-r--r--editor/plugins/debugger_editor_plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/plugins/debugger_editor_plugin.h b/editor/plugins/debugger_editor_plugin.h
index fd011b8137..5ec6399921 100644
--- a/editor/plugins/debugger_editor_plugin.h
+++ b/editor/plugins/debugger_editor_plugin.h
@@ -36,6 +36,7 @@
class EditorNode;
class EditorFileServer;
class MenuButton;
+class PopupMenu;
class DebuggerEditorPlugin : public EditorPlugin {
@@ -44,10 +45,9 @@ class DebuggerEditorPlugin : public EditorPlugin {
private:
MenuButton *debug_menu;
EditorFileServer *file_server;
+ PopupMenu *instances_menu;
enum MenuOptions {
- RUN_DEBUG_ONE,
- RUN_DEBUG_TWO,
RUN_FILE_SERVER,
RUN_LIVE_DEBUG,
RUN_DEBUG_COLLISONS,
@@ -58,9 +58,10 @@ private:
void _update_debug_options();
void _notification(int p_what);
+ void _select_run_count(int p_index);
+ void _menu_option(int p_option);
public:
- void _menu_option(int p_option);
virtual String get_name() const { return "Debugger"; }
bool has_main_screen() const { return false; }