summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/NodeMenu.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-19 23:54:39 +0000
committerDavid Robillard <d@drobilla.net>2007-09-19 23:54:39 +0000
commitad558bdafde7e40b5de79b47d8586aec53cf3f7e (patch)
treea4431ddd696eb66eceb3119a9f7da933f3585ea4 /src/libs/gui/NodeMenu.hpp
parent0b8415c61e321d032d62b5b1cbda65bab6f178d7 (diff)
downloadingen-ad558bdafde7e40b5de79b47d8586aec53cf3f7e.tar.gz
ingen-ad558bdafde7e40b5de79b47d8586aec53cf3f7e.tar.bz2
ingen-ad558bdafde7e40b5de79b47d8586aec53cf3f7e.zip
Toggling of individual node polyphonic state.
git-svn-id: http://svn.drobilla.net/lad/ingen@733 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/NodeMenu.hpp')
-rw-r--r--src/libs/gui/NodeMenu.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libs/gui/NodeMenu.hpp b/src/libs/gui/NodeMenu.hpp
index 0290d861..e6f63d73 100644
--- a/src/libs/gui/NodeMenu.hpp
+++ b/src/libs/gui/NodeMenu.hpp
@@ -51,9 +51,6 @@ public:
bool has_control_inputs();
- //virtual void show_menu(GdkEventButton* event)
- //{ _menu.popup(event->button, event->time); }
-
protected:
virtual void enable_controls_menuitem();
@@ -62,13 +59,17 @@ protected:
//virtual void add_port(SharedPtr<PortModel> pm);
void on_menu_destroy();
+ void on_menu_polyphonic();
void on_menu_clone();
void on_menu_learn();
void on_menu_disconnect_all();
- //Gtk::Menu _menu;
- SharedPtr<NodeModel> _node;
+ void polyphonic_changed(bool p);
+
+ bool _enable_signal;
+ SharedPtr<NodeModel> _node;
Glib::RefPtr<Gtk::MenuItem> _controls_menuitem;
+ Gtk::CheckMenuItem* _polyphonic_menuitem;
};