summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/NodeModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-21 04:01:33 +0000
committerDavid Robillard <d@drobilla.net>2007-09-21 04:01:33 +0000
commita1e97211b02cc1cd9509617cd3452d731ad7b512 (patch)
tree09fc6e10ce01b6975fc69f3f14bf031919264d80 /src/libs/gui/NodeModule.hpp
parent2fd281a285e4b0bc31e0a0dc6f970359440612c8 (diff)
downloadingen-a1e97211b02cc1cd9509617cd3452d731ad7b512.tar.gz
ingen-a1e97211b02cc1cd9509617cd3452d731ad7b512.tar.bz2
ingen-a1e97211b02cc1cd9509617cd3452d731ad7b512.zip
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
Diffstat (limited to 'src/libs/gui/NodeModule.hpp')
-rw-r--r--src/libs/gui/NodeModule.hpp7
1 files changed, 3 insertions, 4 deletions
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 <raul/SharedPtr.hpp>
#include "Port.hpp"
#include "NodeMenu.hpp"
-using std::string;
class Atom;
@@ -55,7 +54,7 @@ public:
virtual ~NodeModule();
- boost::shared_ptr<Port> port(const string& port_name) {
+ boost::shared_ptr<Port> port(const std::string& port_name) {
return boost::dynamic_pointer_cast<Ingen::GUI::Port>(
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<PortModel> port, bool resize=true);
void remove_port(SharedPtr<PortModel> port);
SharedPtr<NodeModel> _node;
- NodeMenu _menu;
+ NodeMenu* _menu;
};