+void
+SliderController::ctrl_adjusted ()
+{
+ assert (_ctrl); // only used w/BarControlle
+ if (_spin_ignore) return;
+ _ctrl_ignore = true;
+ // TODO consider using internal_to_user, too (amp, dB)
+ // (also needs _spin_adj min/max range changed accordingly
+ // and dedicated support for log-scale, revert parts of ceff2e3a62f839)
+ _spin_adj.set_value (_ctrl->interface_to_internal (_ctrl_adj->get_value()));
+ _ctrl_ignore = false;
+}
+
+void
+SliderController::spin_adjusted ()
+{
+ assert (_ctrl); // only used w/BarController
+ if (_ctrl_ignore) return;
+ _spin_ignore = true;
+ // TODO consider using user_to_internal, as well
+ _ctrl_adj->set_value(_ctrl->internal_to_interface (_spin_adj.get_value()));
+ _spin_ignore = false;
+}