diff options
author | David Robillard <d@drobilla.net> | 2011-12-18 02:25:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-18 02:25:19 +0000 |
commit | fb5f590b113fb5f9794dcc28991889200bbc2640 (patch) | |
tree | f82414983f701a86f4267faf889ce03969a7e010 /gtk2_ardour/lv2_plugin_ui.cc | |
parent | f97091105ddab0d78a73b67789a7a8a17101b329 (diff) |
Show generic plugin UI toolbar (for presets etc.) on LV2 UIs (except external).
git-svn-id: svn://localhost/ardour2/branches/3.0@11019 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 68178d80b5..785a6b9721 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -204,6 +204,18 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) _external_ui_ptr = NULL; if (_inst) { if (!is_external_ui) { + Gtk::HBox* box = manage (new Gtk::HBox); + box->set_spacing (6); + box->set_border_width (6); + box->pack_end (focus_button, false, false); + box->pack_end (bypass_button, false, false, 10); + box->pack_end (delete_button, false, false); + box->pack_end (save_button, false, false); + box->pack_end (add_button, false, false); + box->pack_end (_preset_combo, false, false); + box->show_all(); + pack_start(*box, false, false); + GtkWidget* c_widget = (GtkWidget*)GET_WIDGET(_inst); _gui_widget = Glib::wrap(c_widget); _gui_widget->show_all(); |