diff options
author | David Robillard <d@drobilla.net> | 2011-06-10 01:45:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-10 01:45:19 +0000 |
commit | 15611d1f9d7a6aba34b70ccaf63f564d565b55f3 (patch) | |
tree | 28b1e5ecb67fb5807d607a2e38e691884c121c56 /src/gui/NodeModule.hpp | |
parent | 49bd2b972d10cfab035805d7ffae77e056569c66 (diff) | |
download | ingen-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/NodeModule.hpp')
-rw-r--r-- | src/gui/NodeModule.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeModule.hpp b/src/gui/NodeModule.hpp index db6fb274..d275b648 100644 --- a/src/gui/NodeModule.hpp +++ b/src/gui/NodeModule.hpp @@ -49,7 +49,7 @@ class NodeMenu; class NodeModule : public FlowCanvas::Module { public: - static boost::shared_ptr<NodeModule> create( + static NodeModule* create( PatchCanvas& canvas, SharedPtr<const NodeModel> node, bool human_names); |