- if (bypass_menu_item && (_io->panner().bypassed() != bypass_menu_item->get_active())) {
- _io->panner().set_bypassed (!_io->panner().bypassed());
- }
-}
-
-void
-PannerUI::pan_reset ()
-{
-}
-
-void
-PannerUI::effective_pan_display ()
-{
- if (_io->panner().empty()) {
- return;
- }
-
- switch (_io->n_outputs()) {
- case 0:
- case 1:
- /* relax */
- break;
-
- case 2:
- update_pan_bars (true);
- break;
-
- default:
- //panner->move_puck (pan_value (v, right), 0.5);
- break;
- }
-}
-
-void
-PannerUI::pan_changed (void *src)
-{
- if (src == this) {
- return;
- }
-
- switch (_io->panner().size()) {
- case 0:
- panning_link_direction_button.set_sensitive (false);
- panning_link_button.set_sensitive (false);
- return;
- case 1:
- panning_link_direction_button.set_sensitive (false);
- panning_link_button.set_sensitive (false);
- break;
- default:
- panning_link_direction_button.set_sensitive (true);
- panning_link_button.set_sensitive (true);
- }
-
- uint32_t nouts = _io->n_outputs();
-
- switch (nouts) {
- case 0:
- case 1:
- /* relax */
- break;
-
- case 2:
- update_pan_bars (false);
- break;
-
- default:
- // panner->move_puck (pan_value (pans[0], pans[1]), 0.5);
- break;