From fd04fe7efcf0434a3c6a35fd2a65c775fb383bd0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 6 Dec 2011 21:01:38 +0000 Subject: FlowCanvas's successor is hereby dubbed Ganv. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3820 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/Port.cpp') diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 293f3a22..950a1df9 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -17,7 +17,7 @@ #include #include "raul/log.hpp" -#include "flowcanvas/Module.hpp" +#include "ganv/Module.hpp" #include "ingen/ServerInterface.hpp" #include "ingen/shared/LV2URIMap.hpp" #include "ingen/client/PatchModel.hpp" @@ -42,7 +42,7 @@ namespace GUI { Port* Port::create(App& app, - FlowCanvas::Module& module, + Ganv::Module& module, SharedPtr pm, bool human_name, bool flip) @@ -64,11 +64,11 @@ Port::create(App& app, /** @a flip Make an input port appear as an output port, and vice versa. */ Port::Port(App& app, - FlowCanvas::Module& module, + Ganv::Module& module, SharedPtr pm, const string& name, bool flip) - : FlowCanvas::Port(module, name, + : Ganv::Port(module, name, flip ? (!pm->is_input()) : pm->is_input(), app.configuration()->get_port_color(pm.get())) , _app(app) @@ -144,7 +144,7 @@ Port::value_changed(const Atom& value) if (_pressed) return; else if (value.type() == Atom::FLOAT) - FlowCanvas::Port::set_control_value(value.get_float()); + Ganv::Port::set_control_value(value.get_float()); } bool @@ -162,7 +162,7 @@ Port::on_event(GdkEvent* ev) break; } - return FlowCanvas::Port::on_event(ev); + return Ganv::Port::on_event(ev); } bool @@ -249,7 +249,7 @@ Port::set_control(float value, bool signal) pw->show_port_status(model().get(), value); } - FlowCanvas::Port::set_control_value(value); + Ganv::Port::set_control_value(value); } void @@ -312,7 +312,7 @@ void Port::set_selected(gboolean b) { if (b != get_selected()) { - FlowCanvas::Port::set_selected(b); + Ganv::Port::set_selected(b); SharedPtr pm = _port_model.lock(); if (pm && b) { SharedPtr node = PtrCast(pm->parent()); -- cgit v1.2.1