Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsamixer/
Dtextbox.c120 static int max_scroll_x; variable
175 if (max_scroll_x <= 0 || max_line_width <= 0) in update_x_scroll_bar()
180 begin = current_left * (text_box_x - length) / max_scroll_x; in update_x_scroll_bar()
192 else if (left > max_scroll_x) in move_x()
193 left = max_scroll_x; in move_x()
245 move_x(-max_scroll_x); in on_handle_key()
248 move_x(max_scroll_x); in on_handle_key()
281 max_scroll_x = max_line_width - text_box_x; in create()
289 if (current_left > max_scroll_x) in create()
290 current_left = max_scroll_x; in create()