summaryrefslogtreecommitdiff
path: root/gtk2_ardour/vca_master_strip.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-03 11:47:01 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:39 -0400
commit419c7e95f3fad3c6eaf6906ba05e9bc7e3944e08 (patch)
treecf4376783c55c01e5a723e45ecf984bba1152728 /gtk2_ardour/vca_master_strip.h
parentc5c6be4170f1c8f27141d6174a6fb05a8f2d7852 (diff)
GUI modifications to improve VCA strips and their placement in the mixer
Note that this includes some changes that actually make mixer pane settings get restored, which has been broken for some time. Of course, they are not restored perfectly, yet.
Diffstat (limited to 'gtk2_ardour/vca_master_strip.h')
-rw-r--r--gtk2_ardour/vca_master_strip.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk2_ardour/vca_master_strip.h b/gtk2_ardour/vca_master_strip.h
index 5043c6144e..ba7adc0305 100644
--- a/gtk2_ardour/vca_master_strip.h
+++ b/gtk2_ardour/vca_master_strip.h
@@ -32,7 +32,7 @@ namespace ARDOUR {
class VCA;
}
-class VCAMasterStrip : public AxisView, public Gtk::VBox
+class VCAMasterStrip : public AxisView, public Gtk::EventBox
{
public:
VCAMasterStrip (ARDOUR::Session*, boost::shared_ptr<ARDOUR::VCA>);
@@ -43,9 +43,23 @@ class VCAMasterStrip : public AxisView, public Gtk::VBox
private:
boost::shared_ptr<ARDOUR::VCA> _vca;
+ Gtk::HBox vertical_padding;
ArdourButton name_button;
ArdourButton active_button;
GainMeter gain_meter;
+
+ Gtk::Frame global_frame;
+ Gtk::VBox global_vpacker;
+ Gtk::HBox top_padding;
+ Gtk::HBox bottom_padding;
+ ArdourButton width_button;
+ ArdourButton color_button;
+ ArdourButton hide_button;
+ ArdourButton number_label;
+ Gtk::HBox width_hide_box;
+
+ void hide_clicked();
+ bool width_button_pressed (GdkEventButton *);
};