mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
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)
This commit is contained in:
parent
45b7a03b7b
commit
049c11de58
6 changed files with 14 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue