From fccfce4b1e9c9f80b38d20dd8f0e90fe83a93068 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 15 Sep 2008 04:15:03 +0000 Subject: 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 --- src/libs/gui/NodeModule.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libs/gui/NodeModule.hpp') 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 create (boost::shared_ptr canvas, SharedPtr node); + static boost::shared_ptr create ( + boost::shared_ptr canvas, + SharedPtr node, + bool human_names); virtual ~NodeModule(); @@ -58,6 +61,7 @@ public: } virtual void store_location(); + void show_human_names(bool b); SharedPtr node() const { return _node; } @@ -65,7 +69,7 @@ protected: NodeModule(boost::shared_ptr canvas, SharedPtr node); void on_double_click(GdkEventButton* ev); - + void show_control_window(); void embed_gui(bool embed); bool popup_gui(); -- cgit v1.2.1