summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
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.cpp
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.cpp')
-rw-r--r--src/PatchageCanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index c4983f6..ea2318b 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -290,9 +290,9 @@ PatchageCanvas::on_event(GdkEvent* ev)
}
bool
-PatchageCanvas::add_connection(FlowCanvas::Connectable* tail,
- FlowCanvas::Connectable* head,
- uint32_t color)
+PatchageCanvas::make_connection(FlowCanvas::Connectable* tail,
+ FlowCanvas::Connectable* head,
+ uint32_t color)
{
FlowCanvas::Connection* c = new FlowCanvas::Connection(
*this, tail, head, color);