{
public:
MixerStrip (Mixer_UI&, ARDOUR::Session&, boost::shared_ptr<ARDOUR::Route>, bool in_mixer = true);
+ MixerStrip (Mixer_UI&, ARDOUR::Session&, bool in_mixer = true);
~MixerStrip ();
- void set_width (Width);
+ void set_width (Width, void* owner);
Width get_width() const { return _width; }
+ void* width_owner() const { return _width_owner; }
void fast_update ();
void set_embedded (bool);
-
+
ARDOUR::RouteGroup* mix_group() const;
+ void set_route (boost::shared_ptr<ARDOUR::Route>);
+
+#ifdef GTKOSX
+ sigc::signal<void> WidthChanged;
+#endif
protected:
friend class Mixer_UI;
private:
Mixer_UI& _mixer;
+ void init ();
+
bool _embedded;
bool _packed;
+ bool _mixer_owned;
Width _width;
+ void* _width_owner;
Gtk::Button hide_button;
Gtk::Button width_button;
Gtk::HBox width_hide_box;
+ Gtk::EventBox top_event_box;
void hide_clicked();
void width_clicked ();
RedirectBox pre_redirect_box;
RedirectBox post_redirect_box;
GainMeter gpm;
- PannerUI panners;
+ PannerUI panners;
Gtk::Table button_table;
Gtk::Table middle_button_table;
void set_automated_controls_sensitivity (bool yn);
Gtk::Menu* route_ops_menu;
+ Gtk::MenuItem* rename_menu_item;
void build_route_ops_menu ();
gint name_button_button_press (GdkEventButton*);
void list_route_operations ();
void update_speed_display ();
void map_frozen ();
void hide_redirect_editor (boost::shared_ptr<ARDOUR::Redirect> redirect);
+ void hide_redirect_editors ();
bool ignore_speed_adjustment;
- string solo_button_name () const { return "MixerSoloButton"; }
- string safe_solo_button_name () const { return "MixerSafeSoloButton"; }
-
void engine_running();
void engine_stopped();
+ static int scrollbar_height;
};
#endif /* __ardour_mixer_strip__ */