Home
last modified time | relevance | path

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

/scripts/kconfig/lxdialog/
Dmenubox.c90 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
99 if (scroll > 0) { in print_arrows()
115 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
150 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
156 *scroll = *scroll + n; in do_scroll()
168 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
231 scroll = *s_scroll; in dialog_menu()
232 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu()
233 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
234 first_item = scroll; in dialog_menu()
[all …]
Dchecklist.c52 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument
57 if (scroll > 0) { in print_arrows()
72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
176 scroll = choice - list_height + 1; in dialog_checklist()
177 choice -= scroll; in dialog_checklist()
182 item_set(scroll + i); in dialog_checklist()
186 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
198 item_set(i + scroll); in dialog_checklist()
207 if (!scroll) in dialog_checklist()
[all …]