From 23ef587a9a9f118caff223de77014f64189a353e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Dec 2011 20:31:14 +0000 Subject: Joinable => Node. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3751 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageCanvas.cpp | 14 +++++++------- src/PatchageCanvas.hpp | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 720a73e..42f3393 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -177,8 +177,8 @@ PatchageCanvas::find_port_by_name(const std::string& client_name, } void -PatchageCanvas::connect(FlowCanvas::Joinable* port1, - FlowCanvas::Joinable* port2) +PatchageCanvas::connect(FlowCanvas::Node* port1, + FlowCanvas::Node* port2) { PatchagePort* p1 = dynamic_cast(port1); PatchagePort* p2 = dynamic_cast(port2); @@ -200,8 +200,8 @@ PatchageCanvas::connect(FlowCanvas::Joinable* port1, } void -PatchageCanvas::disconnect(FlowCanvas::Joinable* port1, - FlowCanvas::Joinable* port2) +PatchageCanvas::disconnect(FlowCanvas::Node* port1, + FlowCanvas::Node* port2) { PatchagePort* input = dynamic_cast(port1); PatchagePort* output = dynamic_cast(port2); @@ -290,9 +290,9 @@ PatchageCanvas::on_event(GdkEvent* ev) } bool -PatchageCanvas::make_connection(FlowCanvas::Joinable* tail, - FlowCanvas::Joinable* head, - uint32_t color) +PatchageCanvas::make_connection(FlowCanvas::Node* tail, + FlowCanvas::Node* head, + uint32_t color) { FlowCanvas::Edge* c = new FlowCanvas::Edge( *this, tail, head, color); diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp index 745d589..aaf7077 100644 --- a/src/PatchageCanvas.hpp +++ b/src/PatchageCanvas.hpp @@ -49,11 +49,11 @@ public: PatchagePort* find_port_by_name(const std::string& client_name, const std::string& port_name); - void connect(FlowCanvas::Joinable* port1, - FlowCanvas::Joinable* port2); + void connect(FlowCanvas::Node* port1, + FlowCanvas::Node* port2); - void disconnect(FlowCanvas::Joinable* port1, - FlowCanvas::Joinable* port2); + void disconnect(FlowCanvas::Node* port1, + FlowCanvas::Node* port2); void index_port(const PortID& id, PatchagePort* port) { _port_index.insert(std::make_pair(id, port)); @@ -63,9 +63,9 @@ public: void add_module(const std::string& name, PatchageModule* module); - bool make_connection(FlowCanvas::Joinable* tail, - FlowCanvas::Joinable* head, - uint32_t color); + bool make_connection(FlowCanvas::Node* tail, + FlowCanvas::Node* head, + uint32_t color); void remove_port(const PortID& id); -- cgit v1.2.1