tag | line | file | source code |
max_choice | 120 | scripts/lxdialog/checklist.c | int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; |
max_choice | 140 | scripts/lxdialog/checklist.c | max_choice = MIN (list_height, item_no); |
max_choice | 192 | scripts/lxdialog/checklist.c | for (i = 0; i < max_choice; i++) |
max_choice | 205 | scripts/lxdialog/checklist.c | for (i = 0; i < max_choice; i++) |
max_choice | 210 | scripts/lxdialog/checklist.c | if ( i < max_choice || key == KEY_UP || key == KEY_DOWN || |
max_choice | 241 | scripts/lxdialog/checklist.c | if (choice == max_choice - 1) { |
max_choice | 248 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + max_choice - 1) * 3 + 1], |
max_choice | 249 | scripts/lxdialog/checklist.c | status[scroll + max_choice - 1], |
max_choice | 250 | scripts/lxdialog/checklist.c | max_choice - 1, FALSE); |
max_choice | 256 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + max_choice - 1) * 3 + 1], |
max_choice | 257 | scripts/lxdialog/checklist.c | status[scroll + max_choice - 1], |
max_choice | 258 | scripts/lxdialog/checklist.c | max_choice - 1, TRUE); |
max_choice | 323 | scripts/lxdialog/checklist.c | for (i = 0; i < max_choice; i++) |
max_choice | 115 | scripts/lxdialog/menubox.c | int key = 0, button = 0, scroll = 0, choice = 0, first_item = 0, max_choice; |
max_choice | 118 | scripts/lxdialog/menubox.c | max_choice = MIN (menu_height, item_no); |
max_choice | 173 | scripts/lxdialog/menubox.c | if (choice >= max_choice){ |
max_choice | 174 | scripts/lxdialog/menubox.c | scroll = first_item = choice - max_choice + 1; |
max_choice | 175 | scripts/lxdialog/menubox.c | choice = max_choice-1; |
max_choice | 179 | scripts/lxdialog/menubox.c | for (i=0; i < max_choice; i++) { |
max_choice | 194 | scripts/lxdialog/menubox.c | for (i = choice+1; i < max_choice; i++) { |
max_choice | 199 | scripts/lxdialog/menubox.c | if (i == max_choice) |
max_choice | 200 | scripts/lxdialog/menubox.c | for (i = 0; i < max_choice; i++) { |
max_choice | 206 | scripts/lxdialog/menubox.c | if (i < max_choice || key == KEY_UP || key == KEY_DOWN || key == '-' || key == '+') { |
max_choice | 236 | scripts/lxdialog/menubox.c | if (choice == max_choice - 1) { |
max_choice | 242 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll + max_choice - 1) |
max_choice | 243 | scripts/lxdialog/menubox.c | * 2 + 1], max_choice - 1, FALSE, |
max_choice | 244 | scripts/lxdialog/menubox.c | (items[(scroll+max_choice-1)*2][0] != ':')); |
max_choice | 250 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+max_choice-1)*2+1], |
max_choice | 251 | scripts/lxdialog/menubox.c | max_choice-1, TRUE, |
max_choice | 252 | scripts/lxdialog/menubox.c | (items[(scroll+max_choice-1)*2][0] != ':')); |