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/PatchageEvent.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/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 7da0cbb..4f3c8d5 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -91,7 +91,7 @@ PatchageEvent::execute(Patchage* patchage) patchage->error_msg((format("Unable to find port `%1' to connect") % _port_2).str()); else - patchage->canvas()->add_connection( + patchage->canvas()->make_connection( port_1, port_2, port_1->color() + 0x22222200); } else if (_type == DISCONNECTION) { |