tag | line | file | source code |
choice | 33 | scripts/lxdialog/checklist.c | int choice, int selected) |
choice | 39 | scripts/lxdialog/checklist.c | wmove (win, choice, 0); |
choice | 43 | scripts/lxdialog/checklist.c | wmove (win, choice, check_x); |
choice | 51 | scripts/lxdialog/checklist.c | mvwaddch(win, choice, item_x, item[0]); |
choice | 60 | scripts/lxdialog/checklist.c | print_arrows (WINDOW * win, int choice, int item_no, int scroll, |
choice | 81 | scripts/lxdialog/checklist.c | if ((height < item_no) && (scroll + choice < item_no - 1)) { |
choice | 120 | scripts/lxdialog/checklist.c | int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; |
choice | 136 | scripts/lxdialog/checklist.c | if (!choice && status[i]) |
choice | 137 | scripts/lxdialog/checklist.c | choice = i; |
choice | 193 | scripts/lxdialog/checklist.c | print_item (list, items[i * 3 + 1], status[i], i, i == choice); |
choice | 197 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 213 | scripts/lxdialog/checklist.c | if (!choice) { |
choice | 231 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 239 | scripts/lxdialog/checklist.c | i = choice - 1; |
choice | 241 | scripts/lxdialog/checklist.c | if (choice == max_choice - 1) { |
choice | 242 | scripts/lxdialog/checklist.c | if (scroll + choice >= item_no - 1) |
choice | 261 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 269 | scripts/lxdialog/checklist.c | i = choice + 1; |
choice | 271 | scripts/lxdialog/checklist.c | if (i != choice) { |
choice | 274 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + choice) * 3 + 1], |
choice | 275 | scripts/lxdialog/checklist.c | status[scroll + choice], choice, FALSE); |
choice | 277 | scripts/lxdialog/checklist.c | choice = i; |
choice | 278 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + choice) * 3 + 1], |
choice | 279 | scripts/lxdialog/checklist.c | status[scroll + choice], choice, TRUE); |
choice | 312 | scripts/lxdialog/checklist.c | status[scroll + choice] = !status[scroll + choice]; |
choice | 314 | scripts/lxdialog/checklist.c | wmove (list, choice, check_x); |
choice | 316 | scripts/lxdialog/checklist.c | wprintw (list, "[%c]", status[scroll + choice] ? 'X' : ' '); |
choice | 318 | scripts/lxdialog/checklist.c | if (!status[scroll + choice]) { |
choice | 321 | scripts/lxdialog/checklist.c | status[scroll + choice] = 1; |
choice | 325 | scripts/lxdialog/checklist.c | status[scroll + i], i, i == choice); |
choice | 140 | scripts/lxdialog/dialog.h | int menu_height, const char *choice, int item_no, |
choice | 30 | scripts/lxdialog/menubox.c | print_item (WINDOW * win, const char *item, int choice, int selected, int hotkey) |
choice | 38 | scripts/lxdialog/menubox.c | wmove (win, choice, 0); |
choice | 42 | scripts/lxdialog/menubox.c | mvwaddstr (win, choice, item_x, (char *)item); |
choice | 45 | scripts/lxdialog/menubox.c | mvwaddch(win, choice, item_x+j, item[j]); |
choice | 53 | scripts/lxdialog/menubox.c | print_arrows (WINDOW * win, int choice, int item_no, int scroll, |
choice | 74 | scripts/lxdialog/menubox.c | if ((height < item_no) && (scroll + choice < item_no - 1)) { |
choice | 115 | scripts/lxdialog/menubox.c | int key = 0, button = 0, scroll = 0, choice = 0, first_item = 0, max_choice; |
choice | 168 | scripts/lxdialog/menubox.c | if (strcmp(current, items[i*2]) == 0) choice = i; |
choice | 173 | scripts/lxdialog/menubox.c | if (choice >= max_choice){ |
choice | 174 | scripts/lxdialog/menubox.c | scroll = first_item = choice - max_choice + 1; |
choice | 175 | scripts/lxdialog/menubox.c | choice = max_choice-1; |
choice | 180 | scripts/lxdialog/menubox.c | print_item (menu, items[(first_item + i) * 2 + 1], i, i == choice, |
choice | 186 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 194 | scripts/lxdialog/menubox.c | for (i = choice+1; i < max_choice; i++) { |
choice | 208 | scripts/lxdialog/menubox.c | if (choice == 0) { |
choice | 227 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 234 | scripts/lxdialog/menubox.c | i = choice - 1; |
choice | 236 | scripts/lxdialog/menubox.c | if (choice == max_choice - 1) { |
choice | 237 | scripts/lxdialog/menubox.c | if (scroll + choice < item_no - 1) { |
choice | 256 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 264 | scripts/lxdialog/menubox.c | i = choice + 1; |
choice | 266 | scripts/lxdialog/menubox.c | if (i != choice) { |
choice | 269 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, FALSE, |
choice | 270 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 273 | scripts/lxdialog/menubox.c | choice = i; |
choice | 274 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, TRUE, |
choice | 275 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 307 | scripts/lxdialog/menubox.c | fprintf(stderr, items[(scroll + choice) * 2]); |
choice | 317 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2 + 1] + |
choice | 318 | scripts/lxdialog/menubox.c | first_alpha(items[(scroll + choice) * 2 + 1]), |
choice | 319 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2]); |
choice | 321 | scripts/lxdialog/menubox.c | fprintf(stderr, items[(scroll + choice) * 2]); |