|
@ -49,6 +49,18 @@ public: |
|
|
Rect bbox; |
|
|
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 { |
|
|
class NodeEditor { |
|
|
public: |
|
|
public: |
|
|
NodeEditor() { |
|
|
NodeEditor() { |
|
|