diff options
Diffstat (limited to 'src/libs/gui/PatchCanvas.hpp')
-rw-r--r-- | src/libs/gui/PatchCanvas.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/gui/PatchCanvas.hpp b/src/libs/gui/PatchCanvas.hpp index 6eba024a..d0df1505 100644 --- a/src/libs/gui/PatchCanvas.hpp +++ b/src/libs/gui/PatchCanvas.hpp @@ -82,8 +82,12 @@ public: { _menu->popup(event->button.button, event->button.time); } private: + enum ControlType { NUMBER, BUTTON }; + void menu_add_control(ControlType type); + string generate_port_name(const string& base); void menu_add_port(const string& name, const string& type, bool is_output); + void menu_load_plugin(); void menu_new_patch(); void menu_load_patch(); @@ -116,6 +120,8 @@ private: int _last_click_y; Gtk::Menu* _menu; + Gtk::MenuItem* _menu_add_number_control; + Gtk::MenuItem* _menu_add_button_control; Gtk::MenuItem* _menu_add_audio_input; Gtk::MenuItem* _menu_add_audio_output; Gtk::MenuItem* _menu_add_control_input; |