Home
last modified time | relevance | path

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

/scripts/kconfig/lxdialog/
Dmenubox.c98 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
107 if (scroll > 0) { in print_arrows()
123 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
158 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
164 *scroll = *scroll + n; in do_scroll()
176 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
239 scroll = *s_scroll; in dialog_menu()
240 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu()
241 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
242 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()
199 item_set(i + scroll); in dialog_checklist()
208 if (!scroll) in dialog_checklist()
[all …]