From a1e97211b02cc1cd9509617cd3452d731ad7b512 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Sep 2007 04:01:33 +0000 Subject: Reimplement menu system to be picturey, glade loaded, heirarchial, code reusey, etc. Patch port polyphony toggling. git-svn-id: http://svn.drobilla.net/lad/ingen@745 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/NodeModule.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/libs/gui/NodeModule.hpp') diff --git a/src/libs/gui/NodeModule.hpp b/src/libs/gui/NodeModule.hpp index aa77e780..58040989 100644 --- a/src/libs/gui/NodeModule.hpp +++ b/src/libs/gui/NodeModule.hpp @@ -23,7 +23,6 @@ #include #include "Port.hpp" #include "NodeMenu.hpp" -using std::string; class Atom; @@ -55,7 +54,7 @@ public: virtual ~NodeModule(); - boost::shared_ptr port(const string& port_name) { + boost::shared_ptr port(const std::string& port_name) { return boost::dynamic_pointer_cast( Module::get_port(port_name)); } @@ -75,13 +74,13 @@ protected: virtual void on_middle_click(GdkEventButton* ev) { show_control_window(); } void rename(); - void set_metadata(const string& key, const Atom& value); + void set_metadata(const std::string& key, const Atom& value); void add_port(SharedPtr port, bool resize=true); void remove_port(SharedPtr port); SharedPtr _node; - NodeMenu _menu; + NodeMenu* _menu; }; -- cgit v1.2.1