diff options
author | David Robillard <d@drobilla.net> | 2007-02-08 03:56:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-08 03:56:42 +0000 |
commit | 1359e05f9864bf420095347e46531628d1e3d683 (patch) | |
tree | cbfea845591c759c6b73abb14cf4e85ed72eb905 /src/PatchageEvent.cpp | |
parent | 37d05ae902f1fd6ce4c243e84502b0567990058f (diff) | |
download | patchage-1359e05f9864bf420095347e46531628d1e3d683.tar.gz patchage-1359e05f9864bf420095347e46531628d1e3d683.tar.bz2 patchage-1359e05f9864bf420095347e46531628d1e3d683.zip |
Circular nodes in FlowCanvas, related necessary redesign work and changes for API update.
Beginnings of a Machina GUI.
git-svn-id: http://svn.drobilla.net/lad/patchage@290 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 2c490e9..09b28a1 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -33,7 +33,7 @@ PatchageEvent::execute() const string port_name = full_name.substr(full_name.find(":")+1); SharedPtr<PatchageModule> module = PtrCast<PatchageModule>( - _patchage->canvas()->get_module(module_name)); + _patchage->canvas()->get_item(module_name)); if (_type == PORT_CREATION) { @@ -42,7 +42,7 @@ PatchageEvent::execute() new PatchageModule(_patchage, module_name, InputOutput)); module->load_location(); module->store_location(); - _patchage->canvas()->add_module(module); + _patchage->canvas()->add_item(module); module->show(); } @@ -75,7 +75,7 @@ PatchageEvent::execute() } if (module->num_ports() == 0) { - _patchage->canvas()->remove_module(module->name()); // FIXME: slow + _patchage->canvas()->remove_item(module->name()); // FIXME: slow module->hide(); module.reset(); } |