summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-06 21:01:38 +0000
committerDavid Robillard <d@drobilla.net>2011-12-06 21:01:38 +0000
commitfd04fe7efcf0434a3c6a35fd2a65c775fb383bd0 (patch)
tree4c5b8791f19bcda81060077f2880b30ae4cae4b7 /src/gui/PatchCanvas.hpp
parenta5f256cf923d165afd273914a13726d745a59cbc (diff)
downloadingen-fd04fe7efcf0434a3c6a35fd2a65c775fb383bd0.tar.gz
ingen-fd04fe7efcf0434a3c6a35fd2a65c775fb383bd0.tar.bz2
ingen-fd04fe7efcf0434a3c6a35fd2a65c775fb383bd0.zip
FlowCanvas's successor is hereby dubbed Ganv.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3820 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchCanvas.hpp')
-rw-r--r--src/gui/PatchCanvas.hpp24
1 files changed, 11 insertions, 13 deletions
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<PortModel> port);
+ Ganv::Port* get_port_view(SharedPtr<PortModel> 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<const PatchModel> _patch;
- typedef std::map<SharedPtr<const ObjectModel>,
- FlowCanvas::Module*
- > Views;
+ typedef std::map<SharedPtr<const ObjectModel>, Ganv::Module*> Views;
Views _views;
int _auto_position_count;