summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-10 01:45:19 +0000
committerDavid Robillard <d@drobilla.net>2011-06-10 01:45:19 +0000
commit15611d1f9d7a6aba34b70ccaf63f564d565b55f3 (patch)
tree28b1e5ecb67fb5807d607a2e38e691884c121c56 /src/gui/Port.hpp
parent49bd2b972d10cfab035805d7ffae77e056569c66 (diff)
downloadingen-15611d1f9d7a6aba34b70ccaf63f564d565b55f3.tar.gz
ingen-15611d1f9d7a6aba34b70ccaf63f564d565b55f3.tar.bz2
ingen-15611d1f9d7a6aba34b70ccaf63f564d565b55f3.zip
Avoid resizing entirely when adding a port and new size/etc is simple to compute.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3382 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Port.hpp')
-rw-r--r--src/gui/Port.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp
index 17b1c37b..3bc66cd3 100644
--- a/src/gui/Port.hpp
+++ b/src/gui/Port.hpp
@@ -40,11 +40,11 @@ namespace GUI {
class Port : public FlowCanvas::Port
{
public:
- static SharedPtr<Port> create(
- FlowCanvas::Module& module,
- SharedPtr<const PortModel> pm,
- bool human_name,
- bool flip = false);
+ static Port* create(
+ FlowCanvas::Module& module,
+ SharedPtr<const PortModel> pm,
+ bool human_name,
+ bool flip = false);
~Port();