summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/OmFlowCanvas.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-18 08:06:14 +0000
committerDavid Robillard <d@drobilla.net>2006-06-18 08:06:14 +0000
commit172a0119ee0a0bb6d50836c70936907c3eb71c9e (patch)
treecbcc56285b033bb9857b9be85f5f9be193b6f38f /src/progs/gtk/OmFlowCanvas.h
parente6f42fd640dcbad6b2e39cc85bdf307d197278b0 (diff)
downloadingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.tar.gz
ingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.tar.bz2
ingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.zip
More work on new ports implementation;
lots of mass renaming and code removal. git-svn-id: http://svn.drobilla.net/lad/grauph@52 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/gtk/OmFlowCanvas.h')
-rw-r--r--src/progs/gtk/OmFlowCanvas.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/progs/gtk/OmFlowCanvas.h b/src/progs/gtk/OmFlowCanvas.h
index 1871de80..c645d43f 100644
--- a/src/progs/gtk/OmFlowCanvas.h
+++ b/src/progs/gtk/OmFlowCanvas.h
@@ -52,16 +52,29 @@ public:
void show_menu(GdkEvent* event)
{ m_menu->popup(event->button.button, event->button.time); }
+private:
+ void menu_add_port(const string& name, const string& type, bool is_output);
+ /*void menu_add_audio_input();
+ void menu_add_audio_output();
+ void menu_add_control_input();
+ void menu_add_control_output();
+ void menu_add_midi_input();
+ void menu_add_midi_output();*/
void menu_load_plugin();
void menu_new_patch();
void menu_load_patch();
-private:
PatchController* m_patch_controller;
int m_last_click_x;
int m_last_click_y;
Gtk::Menu* m_menu;
+ Gtk::MenuItem* m_menu_add_audio_input;
+ Gtk::MenuItem* m_menu_add_audio_output;
+ Gtk::MenuItem* m_menu_add_control_input;
+ Gtk::MenuItem* m_menu_add_control_output;
+ Gtk::MenuItem* m_menu_add_midi_input;
+ Gtk::MenuItem* m_menu_add_midi_output;
Gtk::MenuItem* m_menu_load_plugin;
Gtk::MenuItem* m_menu_load_patch;
Gtk::MenuItem* m_menu_new_patch;