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/PatchCanvas.hpp | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/gui/PatchCanvas.hpp') diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp index 6da98b85..98ee3776 100644 --- a/src/gui/PatchCanvas.hpp +++ b/src/gui/PatchCanvas.hpp @@ -26,8 +26,8 @@ #include "lilv/lilv.h" -#include "flowcanvas/Canvas.hpp" -#include "flowcanvas/Module.hpp" +#include "ganv/Canvas.hpp" +#include "ganv/Module.hpp" #include "raul/SharedPtr.hpp" #include "raul/Path.hpp" @@ -35,11 +35,11 @@ #include "ingen/GraphObject.hpp" #include "NodeModule.hpp" -using namespace FlowCanvas; +using namespace Ganv; using namespace Ingen::Shared; using std::string; -using FlowCanvas::Port; +using Ganv::Port; using Ingen::Client::ConnectionModel; using Ingen::Client::NodeModel; using Ingen::Client::PortModel; @@ -57,7 +57,7 @@ class NodeModule; * * \ingroup GUI */ -class PatchCanvas : public FlowCanvas::Canvas +class PatchCanvas : public Ganv::Canvas { public: PatchCanvas(App& app, @@ -128,20 +128,18 @@ private: GraphObject::Properties get_initial_data(Resource::Graph ctx=Resource::DEFAULT); - FlowCanvas::Port* get_port_view(SharedPtr port); + Ganv::Port* get_port_view(SharedPtr port); - void connect(FlowCanvas::Node* src, - FlowCanvas::Node* dst); + void connect(Ganv::Node* src, + Ganv::Node* dst); - void disconnect(FlowCanvas::Node* src, - FlowCanvas::Node* dst); + void disconnect(Ganv::Node* src, + Ganv::Node* dst); App& _app; SharedPtr _patch; - typedef std::map, - FlowCanvas::Module* - > Views; + typedef std::map, Ganv::Module*> Views; Views _views; int _auto_position_count; -- cgit v1.2.1