diff options
author | David Robillard <d@drobilla.net> | 2011-11-27 00:48:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-27 00:48:46 +0000 |
commit | bcbd762544c0a67d3c3dab1dd0afd438bdf58fba (patch) | |
tree | 15735acca897207d8397799a24bb89947800b3b3 /src/PatchageCanvas.cpp | |
parent | 98c8879127033f413070bf9224508cc8b7565dfc (diff) | |
download | patchage-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.cpp | 6 |
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); |