mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2026-01-04 18:10:07 +03:00
Make compile.
This commit is contained in:
@@ -4379,7 +4379,7 @@ void VisualScriptEditor::_notification(int p_what) {
|
|||||||
func_input_scroll->add_theme_style_override(
|
func_input_scroll->add_theme_style_override(
|
||||||
"bg", get_theme_stylebox(SNAME("bg"), SNAME("Tree")));
|
"bg", get_theme_stylebox(SNAME("bg"), SNAME("Tree")));
|
||||||
|
|
||||||
Ref<Theme> tm = EditorNode::get_singleton()->get_theme_base()->get_theme();
|
Ref<Theme> tm = EditorNode::get_singleton()-> get_editor_theme();
|
||||||
|
|
||||||
bool dark_theme = tm->get_constant("dark_theme", "Editor");
|
bool dark_theme = tm->get_constant("dark_theme", "Editor");
|
||||||
|
|
||||||
|
|||||||
@@ -2746,3 +2746,7 @@ VisualScriptLanguage::~VisualScriptLanguage() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
StringName VisualScript::get_global_name() const { return get_name(); }
|
StringName VisualScript::get_global_name() const { return get_name(); }
|
||||||
|
|
||||||
|
String VisualScript::get_class_icon_path() const {
|
||||||
|
return "icons/VisualScript.svg";
|
||||||
|
}
|
||||||
|
|||||||
@@ -370,6 +370,7 @@ public:
|
|||||||
virtual void set_source_code(const String &p_code) override;
|
virtual void set_source_code(const String &p_code) override;
|
||||||
virtual Error reload(bool p_keep_state = false) override;
|
virtual Error reload(bool p_keep_state = false) override;
|
||||||
|
|
||||||
|
virtual String get_class_icon_path() const;
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
virtual Vector<DocData::ClassDoc> get_documentation() const override {
|
virtual Vector<DocData::ClassDoc> get_documentation() const override {
|
||||||
Vector<DocData::ClassDoc> docs;
|
Vector<DocData::ClassDoc> docs;
|
||||||
|
|||||||
Reference in New Issue
Block a user