diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-01 18:22:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-01 18:22:29 +0100 |
commit | 049c11de58704790bc652dcb9acfb207af4a8ebe (patch) | |
tree | bb24d2073168065b50c80e42795d504abcfa586e /gtk2_ardour/processor_box.cc | |
parent | 45b7a03b7bfa5892a5d9d16bf684fee332f2b323 (diff) |
Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.
(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 1fdad0801d..84507b250c 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -493,7 +493,7 @@ ProcessorEntry::toggle_panner_link () ProcessorEntry::Control::Control (boost::shared_ptr<AutomationControl> c, string const & n) : _control (c) , _adjustment (gain_to_slider_position_with_max (1.0, Config->get_max_gain()), 0, 1, 0.01, 0.1) - , _slider (&_adjustment, 0, 13) + , _slider (&_adjustment, boost::shared_ptr<PBD::Controllable>(), 0, 13) , _slider_persistant_tooltip (&_slider) , _button (ArdourButton::led_default_elements) , _ignore_ui_adjustment (false) |