diff options
author | David Robillard <d@drobilla.net> | 2008-09-15 04:15:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-15 04:15:03 +0000 |
commit | fccfce4b1e9c9f80b38d20dd8f0e90fe83a93068 (patch) | |
tree | a2c81600ac907662f84912fa5375bfd14450811c /src/libs/gui/NodeModule.hpp | |
parent | 966b1446fcc3fc5a4cdda778c259bb24ed59539a (diff) | |
download | ingen-fccfce4b1e9c9f80b38d20dd8f0e90fe83a93068.tar.gz ingen-fccfce4b1e9c9f80b38d20dd8f0e90fe83a93068.tar.bz2 ingen-fccfce4b1e9c9f80b38d20dd8f0e90fe83a93068.zip |
Make view togglable between symbols and human names (just LV2 plugins for now).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1502 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/NodeModule.hpp')
-rw-r--r-- | src/libs/gui/NodeModule.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/gui/NodeModule.hpp b/src/libs/gui/NodeModule.hpp index 2b592446..de9556fd 100644 --- a/src/libs/gui/NodeModule.hpp +++ b/src/libs/gui/NodeModule.hpp @@ -48,7 +48,10 @@ class Port; class NodeModule : public FlowCanvas::Module { public: - static boost::shared_ptr<NodeModule> create (boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> node); + static boost::shared_ptr<NodeModule> create ( + boost::shared_ptr<PatchCanvas> canvas, + SharedPtr<NodeModel> node, + bool human_names); virtual ~NodeModule(); @@ -58,6 +61,7 @@ public: } virtual void store_location(); + void show_human_names(bool b); SharedPtr<NodeModel> node() const { return _node; } @@ -65,7 +69,7 @@ protected: NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> node); void on_double_click(GdkEventButton* ev); - + void show_control_window(); void embed_gui(bool embed); bool popup_gui(); |