summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchCanvas.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-06 02:51:08 +0000
committerDavid Robillard <d@drobilla.net>2007-06-06 02:51:08 +0000
commitda849d4bbe24793b650a80fdb00ce87c1c94517f (patch)
treebe8e52455bf198a43917d79c675f5036a236a8c4 /src/libs/gui/PatchCanvas.h
parent3eda16098e0d66bcf64ad7385c169dbd77abdb28 (diff)
downloadingen-da849d4bbe24793b650a80fdb00ce87c1c94517f.tar.gz
ingen-da849d4bbe24793b650a80fdb00ce87c1c94517f.tar.bz2
ingen-da849d4bbe24793b650a80fdb00ce87c1c94517f.zip
Nicer Flowcanvas naming.
git-svn-id: http://svn.drobilla.net/lad/ingen@529 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchCanvas.h')
-rw-r--r--src/libs/gui/PatchCanvas.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libs/gui/PatchCanvas.h b/src/libs/gui/PatchCanvas.h
index 8634b7bf..275d6209 100644
--- a/src/libs/gui/PatchCanvas.h
+++ b/src/libs/gui/PatchCanvas.h
@@ -21,7 +21,7 @@
#include <string>
#include <map>
#include <boost/shared_ptr.hpp>
-#include <flowcanvas/FlowCanvas.h>
+#include <flowcanvas/Canvas.h>
#include <flowcanvas/Module.h>
#include <raul/SharedPtr.h>
#include <raul/Path.h>
@@ -30,9 +30,9 @@
#include "NodeModule.h"
using std::string;
-using namespace LibFlowCanvas;
+using namespace FlowCanvas;
-using LibFlowCanvas::Port;
+using FlowCanvas::Port;
using Ingen::Client::ConnectionModel;
using Ingen::Client::PatchModel;
using Ingen::Client::NodeModel;
@@ -49,7 +49,7 @@ class NodeModule;
*
* \ingroup GUI
*/
-class PatchCanvas : public LibFlowCanvas::FlowCanvas
+class PatchCanvas : public FlowCanvas::Canvas
{
public:
PatchCanvas(SharedPtr<PatchModel> patch, int width, int height);
@@ -58,7 +58,7 @@ public:
/*boost::shared_ptr<NodeModule> find_module(const string& name) {
return boost::dynamic_pointer_cast<NodeModule>(
- FlowCanvas::get_item(name));
+ Canvas::get_item(name));
}*/
void build();
@@ -94,17 +94,17 @@ private:
bool canvas_event(GdkEvent* event);
- SharedPtr<LibFlowCanvas::Port> get_port_view(SharedPtr<PortModel> port);
+ SharedPtr<FlowCanvas::Port> get_port_view(SharedPtr<PortModel> port);
- void connect(boost::shared_ptr<LibFlowCanvas::Connectable> src,
- boost::shared_ptr<LibFlowCanvas::Connectable> dst);
+ void connect(boost::shared_ptr<FlowCanvas::Connectable> src,
+ boost::shared_ptr<FlowCanvas::Connectable> dst);
- void disconnect(boost::shared_ptr<LibFlowCanvas::Connectable> src,
- boost::shared_ptr<LibFlowCanvas::Connectable> dst);
+ void disconnect(boost::shared_ptr<FlowCanvas::Connectable> src,
+ boost::shared_ptr<FlowCanvas::Connectable> dst);
SharedPtr<PatchModel> _patch;
- typedef std::map<SharedPtr<ObjectModel>, SharedPtr<LibFlowCanvas::Module> > Views;
+ typedef std::map<SharedPtr<ObjectModel>, SharedPtr<FlowCanvas::Module> > Views;
Views _views;
int _last_click_x;