summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-08-29 01:13:49 +0200
committerRobin Gareus <robin@gareus.org>2014-08-29 01:13:49 +0200
commit7be3c88a3e4fbc1f3c5294131629d05adaecff77 (patch)
treee2ea0230c09b6dce4fd53be655732b6799f65951 /gtk2_ardour/route_time_axis.cc
parent392f4847b0b90f2fe6621ad640a866a13eaf3be6 (diff)
experiment with unicode circle for rec-en
fixes button-area width mismatch on track-headers except for tape-tracks (which till use old fixed size icon)
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 11f2b46324..a393b27d4f 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -171,9 +171,11 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
switch (track()->mode()) {
case ARDOUR::Normal:
case ARDOUR::NonLayered:
- rec_enable_button->set_image (::get_icon (X_("record_normal_red")));
+ rec_enable_button->set_image (Glib::RefPtr<Gdk::Pixbuf>());
+ rec_enable_button->set_markup ("<span color=\"#cc0000\">\u25CF</span>");
break;
case ARDOUR::Destructive:
+ rec_enable_button->set_text (string());
rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
break;
}
@@ -803,12 +805,12 @@ RouteTimeAxisView::set_track_mode (TrackMode mode, bool apply_to_selection)
switch (mode) {
case ARDOUR::NonLayered:
case ARDOUR::Normal:
- rec_enable_button->set_image (::get_icon (X_("record_normal_red")));
- rec_enable_button->set_text (string());
+ rec_enable_button->set_image (Glib::RefPtr<Gdk::Pixbuf>());
+ rec_enable_button->set_markup ("<span color=\"#cc0000\">\u25CF</span>");
break;
case ARDOUR::Destructive:
- rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
rec_enable_button->set_text (string());
+ rec_enable_button->set_image (::get_icon (X_("record_tape_red")));
break;
}