diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-08 02:41:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-08 18:19:31 +0200 |
commit | 77e50f56f9f9107c122bf8785978eb6bd7e49a36 (patch) | |
tree | 572f6e5c33bab4ae54157bfa2f0305be17205149 /gtk2_ardour/plugin_ui.h | |
parent | 24b514797ab265bf48eb93d6c2c812ce5232fdba (diff) |
first step to separate generic-gui layout
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r-- | gtk2_ardour/plugin_ui.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index ca855d0571..207f7db984 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -194,17 +194,8 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox private: Gtk::VBox main_contents; - Gtk::HBox settings_box; Gtk::HBox hpacker; - - Gtk::Table button_table; - Gtk::Table output_table; - - Gtk::ScrolledWindow scroller; - Gtk::Adjustment hAdjustment; - Gtk::Adjustment vAdjustment; - Gtk::Viewport scroller_view; Gtk::Menu* automation_menu; gint prefheight; @@ -229,11 +220,6 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox } }; - static const int32_t initial_button_rows = 12; - static const int32_t initial_button_cols = 1; - static const int32_t initial_output_rows = 1; - static const int32_t initial_output_cols = 4; - /* FIXME: Unify with AutomationController */ struct ControlUI : public Gtk::HBox { @@ -275,6 +261,8 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox void output_update(); void build (); + void layout (const std::vector<ControlUI *>& control_uis); + ControlUI* build_control_ui (const Evoral::Parameter& param, const ARDOUR::ParameterDescriptor& desc, boost::shared_ptr<ARDOUR::AutomationControl> mcontrol, |