From bcbd762544c0a67d3c3dab1dd0afd438bdf58fba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Nov 2011 00:48:46 +0000 Subject: 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 --- src/PatchageCanvas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PatchageCanvas.cpp') 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); -- cgit v1.2.1