summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/Connection.cpp4
-rw-r--r--src/gui/Connection.hpp4
-rw-r--r--src/gui/PatchCanvas.cpp8
-rw-r--r--src/gui/PatchCanvas.hpp8
4 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/Connection.cpp b/src/gui/Connection.cpp
index e554de02..8e6732ff 100644
--- a/src/gui/Connection.cpp
+++ b/src/gui/Connection.cpp
@@ -27,8 +27,8 @@ namespace GUI {
Connection::Connection(FlowCanvas::Canvas& canvas,
boost::shared_ptr<const ConnectionModel> model,
- FlowCanvas::Joinable* src,
- FlowCanvas::Joinable* dst,
+ FlowCanvas::Node* src,
+ FlowCanvas::Node* dst,
uint32_t color)
: FlowCanvas::Edge(canvas, src, dst, color)
, _connection_model(model)
diff --git a/src/gui/Connection.hpp b/src/gui/Connection.hpp
index 5eee2194..bae9f4aa 100644
--- a/src/gui/Connection.hpp
+++ b/src/gui/Connection.hpp
@@ -39,8 +39,8 @@ class Connection : public FlowCanvas::Edge
public:
Connection(FlowCanvas::Canvas& canvas,
boost::shared_ptr<const ConnectionModel> model,
- FlowCanvas::Joinable* src,
- FlowCanvas::Joinable* dst,
+ FlowCanvas::Node* src,
+ FlowCanvas::Node* dst,
uint32_t color);
SharedPtr<const ConnectionModel> model() const { return _connection_model; }
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 1252cfa9..82a72bd5 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -492,8 +492,8 @@ PatchCanvas::disconnection(SharedPtr<const ConnectionModel> cm)
}
void
-PatchCanvas::connect(FlowCanvas::Joinable* src_port,
- FlowCanvas::Joinable* dst_port)
+PatchCanvas::connect(FlowCanvas::Node* src_port,
+ FlowCanvas::Node* dst_port)
{
const Ingen::GUI::Port* const src
= dynamic_cast<Ingen::GUI::Port*>(src_port);
@@ -508,8 +508,8 @@ PatchCanvas::connect(FlowCanvas::Joinable* src_port,
}
void
-PatchCanvas::disconnect(FlowCanvas::Joinable* src_port,
- FlowCanvas::Joinable* dst_port)
+PatchCanvas::disconnect(FlowCanvas::Node* src_port,
+ FlowCanvas::Node* dst_port)
{
const Ingen::GUI::Port* const src
= dynamic_cast<Ingen::GUI::Port*>(src_port);
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index 06aa12d5..c0dfe8d8 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -131,11 +131,11 @@ private:
FlowCanvas::Port* get_port_view(SharedPtr<PortModel> port);
- void connect(FlowCanvas::Joinable* src,
- FlowCanvas::Joinable* dst);
+ void connect(FlowCanvas::Node* src,
+ FlowCanvas::Node* dst);
- void disconnect(FlowCanvas::Joinable* src,
- FlowCanvas::Joinable* dst);
+ void disconnect(FlowCanvas::Node* src,
+ FlowCanvas::Node* dst);
App& _app;
SharedPtr<const PatchModel> _patch;