You've already forked godot
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user