summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.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
commit7a0c02f70f08aa39cba1f83be690f74949a53911 (patch)
tree636437f0740e00b36db5a1dc52210c53100c0c00 /src/PatchageCanvas.hpp
parent9113cdcde8bc1c54ee02a5875ba20e27a3b77fae (diff)
downloadpatchage-7a0c02f70f08aa39cba1f83be690f74949a53911.tar.gz
patchage-7a0c02f70f08aa39cba1f83be690f74949a53911.tar.bz2
patchage-7a0c02f70f08aa39cba1f83be690f74949a53911.zip
FlowCanvas's successor is hereby dubbed Ganv.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3820 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageCanvas.hpp')
-rw-r--r--src/PatchageCanvas.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp
index cf536ba..b4dd510 100644
--- a/src/PatchageCanvas.hpp
+++ b/src/PatchageCanvas.hpp
@@ -26,7 +26,7 @@
#include <alsa/asoundlib.h>
#endif
-#include "flowcanvas/Canvas.hpp"
+#include "ganv/Canvas.hpp"
#include "PatchageEvent.hpp"
#include "PatchageModule.hpp"
@@ -37,7 +37,7 @@ class Patchage;
class PatchageModule;
class PatchagePort;
-class PatchageCanvas : public FlowCanvas::Canvas {
+class PatchageCanvas : public Ganv::Canvas {
public:
PatchageCanvas(Patchage* _app, int width, int height);
@@ -50,11 +50,11 @@ public:
PatchagePort* find_port_by_name(const std::string& client_name,
const std::string& port_name);
- void connect(FlowCanvas::Node* port1,
- FlowCanvas::Node* port2);
+ void connect(Ganv::Node* port1,
+ Ganv::Node* port2);
- void disconnect(FlowCanvas::Node* port1,
- FlowCanvas::Node* port2);
+ void disconnect(Ganv::Node* port1,
+ Ganv::Node* port2);
void index_port(const PortID& id, PatchagePort* port) {
_port_index.insert(std::make_pair(id, port));
@@ -64,8 +64,8 @@ public:
void add_module(const std::string& name, PatchageModule* module);
- bool make_connection(FlowCanvas::Node* tail,
- FlowCanvas::Node* head,
+ bool make_connection(Ganv::Node* tail,
+ Ganv::Node* head,
uint32_t color);
void remove_port(const PortID& id);
@@ -76,7 +76,7 @@ private:
Patchage* _app;
bool on_event(GdkEvent* ev);
- bool on_connection_event(FlowCanvas::Edge* c, GdkEvent* ev);
+ bool on_connection_event(Ganv::Edge* c, GdkEvent* ev);
typedef std::map<const PortID, PatchagePort*> PortIndex;
PortIndex _port_index;