use new 'special' rec-en button
This commit is contained in:
parent
1592d04828
commit
5d5d859c2a
@ -357,7 +357,6 @@ void
|
||||
MeterStrip::set_button_names()
|
||||
{
|
||||
mute_button->set_text (_("M"));
|
||||
rec_enable_button->set_markup ("<span color=\"#f46f6f\">\u25CF</span>");
|
||||
|
||||
if (_route && _route->solo_safe()) {
|
||||
solo_button->set_visual_state (Gtkmm2ext::VisualState (solo_button->visual_state() | Gtkmm2ext::Insensitive));
|
||||
|
@ -173,10 +173,8 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
||||
case ARDOUR::Normal:
|
||||
case ARDOUR::NonLayered:
|
||||
rec_enable_button->set_image (Glib::RefPtr<Gdk::Pixbuf>());
|
||||
rec_enable_button->set_markup ("<span color=\"#f46f6f\">\u25CF</span>");
|
||||
break;
|
||||
case ARDOUR::Destructive:
|
||||
rec_enable_button->set_text (string());
|
||||
rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
|
||||
break;
|
||||
}
|
||||
@ -862,10 +860,8 @@ RouteTimeAxisView::set_track_mode (TrackMode mode, bool apply_to_selection)
|
||||
case ARDOUR::NonLayered:
|
||||
case ARDOUR::Normal:
|
||||
rec_enable_button->set_image (Glib::RefPtr<Gdk::Pixbuf>());
|
||||
rec_enable_button->set_markup ("<span color=\"#f46f6f\">\u25CF</span>");
|
||||
break;
|
||||
case ARDOUR::Destructive:
|
||||
rec_enable_button->set_text (string());
|
||||
rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
|
||||
break;
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ RouteUI::init ()
|
||||
|
||||
rec_enable_button = manage (new ArdourButton);
|
||||
rec_enable_button->set_name ("record enable button");
|
||||
rec_enable_button->set_markup ("<span weight=\"bold\" color=\"#f46f6f\">\u2B24</span>");
|
||||
rec_enable_button->set_elements ((ArdourButton::Element)(ArdourButton::Edge|ArdourButton::Body|ArdourButton::RecButton));
|
||||
UI::instance()->set_tip (rec_enable_button, _("Enable recording on this track"), "");
|
||||
|
||||
rec_blink_connection = ARDOUR_UI::instance()->Blink.connect (sigc::mem_fun (*this, &RouteUI::blink_rec_display));
|
||||
|
Loading…
Reference in New Issue
Block a user