1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Clean up/refactor GraphNode and make it more flexible

Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
This commit is contained in:
Hendrik Brucker
2023-08-09 18:31:15 +02:00
parent 08c578c54c
commit 5afe78bd9c
26 changed files with 1600 additions and 1537 deletions

View File

@@ -265,6 +265,7 @@ class VisualShaderNode : public Resource {
protected:
bool simple_decl = true;
bool disabled = false;
bool closable = false;
static void _bind_methods();
@@ -331,6 +332,9 @@ public:
bool is_disabled() const;
void set_disabled(bool p_disabled = true);
bool is_closable() const;
void set_closable(bool p_closable = true);
virtual Vector<StringName> get_editable_properties() const;
virtual HashMap<StringName, String> get_editable_properties_names() const;