diff --git a/src/gui/node_editor.h b/src/gui/node_editor.h index a0a18e6..bde4b0f 100644 --- a/src/gui/node_editor.h +++ b/src/gui/node_editor.h @@ -49,6 +49,18 @@ public: Rect bbox; }; +class GuiEdge { +public: + GuiEdge(GuiNode *lhs, GuiNode *rhs, uint fromSlot, uint toSlot) + : lhs(lhs), rhs(rhs), fromSlot(fromSlot), toSlot(toSlot) {} + + + GuiNode *lhs; + GuiNode *rhs; + uint fromSlot; + uint toSlot; +}; + class NodeEditor { public: NodeEditor() {