use strings to connect nodes
This makes the node system somewhat more high-level with the intent of making working with them far more flexible and stable. By making the architecture more abstracted, it becomes far less rigid which should allow us to do even more with it and make it much less crash prone.
This commit is contained in:
+3
-3
@@ -65,11 +65,11 @@ signals:
|
||||
*/
|
||||
void NodeRemoved(Node* node);
|
||||
|
||||
void InputConnected(Node* output, NodeInput* input, int element);
|
||||
void InputConnected(const NodeOutput& output, const NodeInput& input);
|
||||
|
||||
void InputDisconnected(Node* output, NodeInput* input, int element);
|
||||
void InputDisconnected(const NodeOutput& output, const NodeInput& input);
|
||||
|
||||
void ValueChanged(NodeInput* input, int element);
|
||||
void ValueChanged(const NodeInput& input);
|
||||
|
||||
protected:
|
||||
virtual void childEvent(QChildEvent* event) override;
|
||||
|
||||
Reference in New Issue
Block a user