diff options
author | Sampo Savolainen <v2@iki.fi> | 2008-10-13 19:45:20 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2008-10-13 19:45:20 +0000 |
commit | d9106e99a456a7aa45fc4a9a3e4d4282f63ed59d (patch) | |
tree | e2fc0b51afbe15aae34c923219db107284bc2887 /gtk2_ardour/plugin_ui.cc | |
parent | b3634a723d98baf19e310ef7dba52534963cf4e8 (diff) |
First draft of the EQ visualization system. Now force fed to all plugin UIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@3958 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index a91a5bf9d1..ceb31561cd 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -27,6 +27,7 @@ #include <pbd/failed_constructor.h> #include <gtkmm/widget.h> +#include <gtkmm/box.h> #include <gtkmm2ext/click_box.h> #include <gtkmm2ext/fastmeter.h> #include <gtkmm2ext/barcontroller.h> @@ -56,6 +57,7 @@ #include "gui_thread.h" #include "public_editor.h" #include "keyboard.h" +#include "eq_gui.h" #include "i18n.h" @@ -112,8 +114,15 @@ PluginUIWindow::PluginUIWindow (Gtk::Window* win, boost::shared_ptr<PluginInsert GenericPluginUI* pu = new GenericPluginUI (insert, scrollable); _pluginui = pu; - add (*pu); + + Gtk::HBox *hbox = new Gtk::HBox(); + hbox->pack_start( *pu); + // TODO: this should be nicer + hbox->pack_start( *manage(new PluginEqGui(insert))); + add (*manage(hbox)); + + set_wmclass (X_("ardour_plugin_editor"), "Ardour"); signal_map_event().connect (mem_fun (*pu, &GenericPluginUI::start_updating)); |