mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added status bar and toggle scripts panel button to EditorHelp/VScripts
This commit is contained in:
parent
3705ad7d8f
commit
1dda47c280
11 changed files with 88 additions and 18 deletions
|
@ -93,6 +93,8 @@ class VisualScriptEditor : public ScriptEditorBase {
|
|||
ConfirmationDialog *function_create_dialog;
|
||||
|
||||
GraphEdit *graph;
|
||||
HBoxContainer *status_bar;
|
||||
Button *toggle_scripts_button;
|
||||
|
||||
VisualScriptEditorSignalEdit *signal_editor;
|
||||
|
||||
|
@ -281,6 +283,8 @@ class VisualScriptEditor : public ScriptEditorBase {
|
|||
void _member_rmb_selected(const Vector2 &p_pos);
|
||||
void _member_option(int p_option);
|
||||
|
||||
void _toggle_scripts_pressed();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
@ -330,6 +334,8 @@ public:
|
|||
|
||||
static void free_clipboard();
|
||||
|
||||
void update_toggle_scripts_button() override;
|
||||
|
||||
VisualScriptEditor();
|
||||
~VisualScriptEditor();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue