summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-27 00:48:46 +0000
committerDavid Robillard <d@drobilla.net>2011-11-27 00:48:46 +0000
commitbcbd762544c0a67d3c3dab1dd0afd438bdf58fba (patch)
tree15735acca897207d8397799a24bb89947800b3b3 /src/PatchageCanvas.hpp
parent98c8879127033f413070bf9224508cc8b7565dfc (diff)
downloadpatchage-bcbd762544c0a67d3c3dab1dd0afd438bdf58fba.tar.gz
patchage-bcbd762544c0a67d3c3dab1dd0afd438bdf58fba.tar.bz2
patchage-bcbd762544c0a67d3c3dab1dd0afd438bdf58fba.zip
Document public API.
Remove weird canvas parent event handler stuff. Normalize selection rectangle and simplify "within" methods accordingly. Move Port::disconnect_all() to Connectable::disconnect_all(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3649 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageCanvas.hpp')
-rw-r--r--src/PatchageCanvas.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp
index 4889e9c..ae1af8d 100644
--- a/src/PatchageCanvas.hpp
+++ b/src/PatchageCanvas.hpp
@@ -63,9 +63,9 @@ public:
void add_module(const std::string& name, PatchageModule* module);
- bool add_connection(FlowCanvas::Connectable* tail,
- FlowCanvas::Connectable* head,
- uint32_t color);
+ bool make_connection(FlowCanvas::Connectable* tail,
+ FlowCanvas::Connectable* head,
+ uint32_t color);
void remove_port(const PortID& id);