summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-10 03:42:59 +0000
committerDavid Robillard <d@drobilla.net>2006-09-10 03:42:59 +0000
commitee376a70121cda807de0ab1c4124996700a1f513 (patch)
tree81154b1d7539932414eab91bb85084699dda76b8 /src/PatchageModule.h
parentf514f3a017029bcc68fab25c8b84be4e6122709d (diff)
downloadpatchage-ee376a70121cda807de0ab1c4124996700a1f513.tar.gz
patchage-ee376a70121cda807de0ab1c4124996700a1f513.tar.bz2
patchage-ee376a70121cda807de0ab1c4124996700a1f513.zip
GUI redesigning.
git-svn-id: http://svn.drobilla.net/lad/patchage@125 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.h')
-rw-r--r--src/PatchageModule.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/PatchageModule.h b/src/PatchageModule.h
index b511eec..4400a68 100644
--- a/src/PatchageModule.h
+++ b/src/PatchageModule.h
@@ -55,10 +55,9 @@ public:
virtual void add_patchage_port(const string& port_name, bool is_input, PortType type)
{
- PatchagePort* port = new PatchagePort(this, type, port_name, is_input,
- m_app->state_manager()->get_port_color(type));
+ new PatchagePort(this, type, port_name, is_input, m_app->state_manager()->get_port_color(type));
- Module::add_port(port, true);
+ resize();
}
virtual void add_patchage_port(const string& port_name, bool is_input, PortType type, const snd_seq_addr_t addr)
@@ -68,7 +67,7 @@ public:
port->alsa_addr(addr);
- Module::add_port(port, true);
+ resize();
}