Lines Matching refs:visible_controls
51 static int visible_controls; variable
645 right = first_visible_control_index + visible_controls < controls_count in display_scroll_indicators()
651 CMD_WITH_ARG(CMD_MIXER_PREVIOUS, visible_controls), -1); in display_scroll_indicators()
653 CMD_WITH_ARG(CMD_MIXER_NEXT, visible_controls), -1); in display_scroll_indicators()
660 if (first_visible_control_index > controls_count - visible_controls) in display_controls()
661 first_visible_control_index = controls_count - visible_controls; in display_controls()
664 …e if (first_visible_control_index < focus_control_index - visible_controls + 1 && visible_controls) in display_controls()
665 first_visible_control_index = focus_control_index - visible_controls + 1; in display_controls()
673 for (i = 0; i < visible_controls; ++i) in display_controls()
691 visible_controls = 0; in compute_controls_layout()
726 visible_controls = (screen_cols - 3) / (control_width + 1); in compute_controls_layout()
727 if (visible_controls > controls_count) in compute_controls_layout()
728 visible_controls = controls_count; in compute_controls_layout()
730 first_control_x = 2 + (screen_cols - 3 - visible_controls * (control_width + 1)) / 2; in compute_controls_layout()