Home
last modified time | relevance | path

Searched refs:screen_cols (Results 1 – 8 of 8) sorted by relevance

/third_party/alsa-utils/alsamixer/
Dmixer_display.c114 screen_too_small = screen_lines < 14 || screen_cols < 12; in init_mixer_layout()
121 if (2 + label_width_left + 1 + 28 + label_width_right + 2 > screen_cols) in init_mixer_layout()
123 if (2 + label_width_left + 1 + 28 + label_width_right + 2 > screen_cols) in init_mixer_layout()
127 right_x = screen_cols - label_width_right - 2; in init_mixer_layout()
334 mvwprintw(mixer_widget.window, i, 1, "%*s", screen_cols - 2, ""); in clear_controls_display()
340 if (width <= screen_cols - 2) in center_string()
341 mvwaddstr(mixer_widget.window, line, (screen_cols - width) / 2, s); in center_string()
353 boojum = lines >= 10 && screen_cols >= 48; in display_unplugged()
358 left = (screen_cols - 46) / 2; in display_unplugged()
649 mvwvline(mixer_widget.window, y0, screen_cols -1, right, y1 - y0 + 1); in display_scroll_indicators()
[all …]
Dmenu_widget.c72 if (screen_lines < 3 || screen_cols < 10) { in menu_widget_create()
82 if (columns > screen_cols) in menu_widget_create()
83 columns = screen_cols; in menu_widget_create()
Dwidget.c28 int screen_cols; variable
52 x = (screen_cols - cols) / 2; in widget_init()
130 getmaxyx(stdscr, screen_lines, screen_cols); in window_size_changed()
Dtextbox.c263 if (screen_lines < 3 || screen_cols < 8) { in create()
279 if (text_box_x > screen_cols - 2) in create()
280 text_box_x = screen_cols - 2; in create()
Dmixer_clickable.c5 extern int screen_cols;
106 x2 = screen_cols + x2 + 1; in clickable_clear()
Dwidget.h24 extern int screen_cols;
Dmixer_widget.c629 widget_init(&mixer_widget, screen_lines, screen_cols, 0, 0, in create()
631 if (screen_cols >= (sizeof(title) - 1) + 2) { in create()
633 mvwaddstr(mixer_widget.window, 0, (screen_cols - (sizeof(title) - 1)) / 2, title); in create()
Ddevice_name.c119 if (screen_lines < 6 || screen_cols < 36) { in create()