- static void _gain_printer (char buf[32], Gtk::Adjustment&, void *);
- void gain_printer (char buf[32], Gtk::Adjustment&);
-
- struct MeterInfo {
- Gtkmm2ext::FastMeter *meter;
- gint16 width;
- bool packed;
-
- MeterInfo() {
- meter = 0;
- width = 0;
- packed = false;
- }
- };
-
- static const guint16 regular_meter_width = 5;
- static const guint16 thin_meter_width = 2;
- vector<MeterInfo> meters;
- float max_peak;
-
+ Gtk::Button gain_automation_style_button;
+ Gtk::ToggleButton gain_automation_state_button;
+
+ Gtk::Menu gain_astate_menu;
+ Gtk::Menu gain_astyle_menu;
+
+ gint gain_automation_style_button_event (GdkEventButton *);
+ gint gain_automation_state_button_event (GdkEventButton *);
+ gint pan_automation_style_button_event (GdkEventButton *);
+ gint pan_automation_state_button_event (GdkEventButton *);
+
+ void gain_automation_state_changed();
+ void gain_automation_style_changed();
+
+ std::string astate_string (ARDOUR::AutoState);
+ std::string short_astate_string (ARDOUR::AutoState);
+ std::string _astate_string (ARDOUR::AutoState, bool);
+
+ std::string astyle_string (ARDOUR::AutoStyle);
+ std::string short_astyle_string (ARDOUR::AutoStyle);
+ std::string _astyle_string (ARDOUR::AutoStyle, bool);
+
+ Width _width;