summaryrefslogtreecommitdiffstats
path: root/editor/shader_globals_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/shader_globals_editor.h')
-rw-r--r--editor/shader_globals_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/shader_globals_editor.h b/editor/shader_globals_editor.h
index 590da342d4..fc50564aae 100644
--- a/editor/shader_globals_editor.h
+++ b/editor/shader_globals_editor.h
@@ -49,6 +49,9 @@ class ShaderGlobalsEditor : public VBoxContainer {
OptionButton *variable_type = nullptr;
Button *variable_add = nullptr;
+ String _check_new_variable_name(const String &p_variable_name);
+
+ void _variable_name_text_changed(const String &p_variable_name);
void _variable_added();
void _variable_deleted(const String &p_variable);
void _changed();