summaryrefslogtreecommitdiff
path: root/gtk2_ardour/return_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-01-05 13:07:31 +0100
committerRobin Gareus <robin@gareus.org>2014-01-05 13:07:31 +0100
commitd89573f8e73ee7f0c28a6b9a8b8ba0f8e78c69aa (patch)
tree9d9d348cd94b8c2c6d68fb75b505efb87624b621 /gtk2_ardour/return_ui.cc
parentf3d858f9dfa8e708cefb445c3825bca8304e897b (diff)
update slider rendering & set style for faders
* render background -- outside of rounded corners * visually align unity-location with fader at 0. * sharp lines (no more AA blur) x/y offset, radius
Diffstat (limited to 'gtk2_ardour/return_ui.cc')
-rw-r--r--gtk2_ardour/return_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/return_ui.cc b/gtk2_ardour/return_ui.cc
index 592fff0a0e..92846af469 100644
--- a/gtk2_ardour/return_ui.cc
+++ b/gtk2_ardour/return_ui.cc
@@ -42,7 +42,7 @@ ReturnUI::ReturnUI (Gtk::Window* parent, boost::shared_ptr<Return> r, Session* s
_gpm.set_controls (boost::shared_ptr<Route>(), r->meter(), r->amp());
_hbox.pack_start (_gpm, true, true);
- set_name ("ReturnUIFrame");
+ set_name (X_("ReturnUIFrame"));
_vbox.set_spacing (5);
_vbox.set_border_width (5);
@@ -61,7 +61,7 @@ ReturnUI::ReturnUI (Gtk::Window* parent, boost::shared_ptr<Return> r, Session* s
_return->input()->changed.connect (input_change_connection, invalidator (*this), boost::bind (&ReturnUI::ins_changed, this, _1, _2), gui_context());
_gpm.setup_meters ();
- _gpm.set_fader_name ("ReturnUIFrame");
+ _gpm.set_fader_name (X_("ReturnUIFader"));
// screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (sigc::mem_fun (*this, &ReturnUI::update));
fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (sigc::mem_fun (*this, &ReturnUI::fast_update));