diff options
Diffstat (limited to 'src/PatchageCanvas.hpp')
-rw-r--r-- | src/PatchageCanvas.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp index bf70007..5262a5e 100644 --- a/src/PatchageCanvas.hpp +++ b/src/PatchageCanvas.hpp @@ -65,6 +65,10 @@ public: void add_module(const std::string& name, PatchageModule* module); + bool add_connection(FlowCanvas::Connectable* tail, + FlowCanvas::Connectable* head, + uint32_t color); + void remove_port(const PortID& id); void destroy(); @@ -74,6 +78,9 @@ private: bool remove_item(FlowCanvas::Item* i); + bool on_event(GdkEvent* ev); + bool on_connection_event(FlowCanvas::Connection* c, GdkEvent* ev); + typedef std::map<const PortID, PatchagePort*> PortIndex; PortIndex _port_index; |