diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-06 12:49:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-06 12:49:57 +0200 |
commit | 4912409a8d2a587e267185952bb7a8582d142382 (patch) | |
tree | d5fe3224c4f8e2383186b259a3380a89d294d093 /gtk2_ardour/automation_time_axis.cc | |
parent | 089184c016cc7ff34a888b78f6af55765ef0b8b0 (diff) |
gtk style related fixes:
* remove some old/unused styles
* fix plugin-ui button (hover color when active)
* consistent style for route buttons
(and related ArdourButton updates)
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 3915b8c626..66b29ff0d4 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -130,8 +130,8 @@ AutomationTimeAxisView::AutomationTimeAxisView ( hide_button.set_elements ((ArdourButton::Element)(ArdourButton::Edge|ArdourButton::Body|ArdourButton::CloseCross)); - auto_button.set_name ("mixer strip button"); - hide_button.set_name ("mixer strip button"); + auto_button.set_name ("route button"); + hide_button.set_name ("route button"); auto_button.unset_flags (Gtk::CAN_FOCUS); hide_button.unset_flags (Gtk::CAN_FOCUS); @@ -183,6 +183,8 @@ AutomationTimeAxisView::AutomationTimeAxisView ( Gtk::DrawingArea *blankB = manage (new Gtk::DrawingArea()); RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*>(&parent); + // TODO use rtv->controls_base_unselected_name + // subscribe to route_active_changed, ... if (rtv && rtv->is_audio_track()) { blank0->set_name ("AudioTrackControlsBaseUnselected"); blankB->set_name ("AudioTrackControlsBaseUnselected"); |