move computation of TimeAxisViewItem fixed heights into a static member function...
[ardour.git] / gtk2_ardour / route_ui.h
index bbe18bfc4fb7865302a8e6dfdba8bf4c50a251fe..cc11b1809470f69aaf2eaf773117116e4fcafbd5 100644 (file)
@@ -47,6 +47,7 @@ namespace Gtk {
 }
 
 class BindableToggleButton;
+class LED;
 
 class RouteUI : public virtual AxisView
 {
@@ -89,6 +90,9 @@ class RouteUI : public virtual AxisView
        BindableToggleButton* rec_enable_button; /* audio tracks */
        BindableToggleButton* show_sends_button; /* busses */
 
+        LED* solo_safe_led;
+        LED* solo_isolated_led;
+
        Gtk::Label solo_button_label;
        Gtk::Label mute_button_label;
        Gtk::Label invert_button_label;
@@ -131,7 +135,7 @@ class RouteUI : public virtual AxisView
        void create_sends (ARDOUR::Placement);
        void create_selected_sends (ARDOUR::Placement);
 
-       void solo_changed(void*);
+       void solo_changed(bool, void*);
        void solo_changed_so_update_mute ();
        void mute_changed(void*);
        void listen_changed(void*);
@@ -144,6 +148,9 @@ class RouteUI : public virtual AxisView
        void solo_isolated_toggle (void*, Gtk::CheckMenuItem*);
        void toggle_solo_isolated (Gtk::CheckMenuItem*);
 
+        bool solo_isolate_button_release (GdkEventButton*);
+        bool solo_safe_button_release (GdkEventButton*);
+
        void solo_safe_toggle (void*, Gtk::CheckMenuItem*);
        void toggle_solo_safe (Gtk::CheckMenuItem*);