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 | 121 | scripts/lxdialog/checklist.c | int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; |
choice | 137 | scripts/lxdialog/checklist.c | if (!choice && status[i]) |
choice | 138 | 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 | 230 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 237 | scripts/lxdialog/checklist.c | i = choice - 1; |
choice | 239 | scripts/lxdialog/checklist.c | if (choice == max_choice - 1) { |
choice | 240 | scripts/lxdialog/checklist.c | if (scroll + choice >= item_no - 1) |
choice | 258 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 265 | scripts/lxdialog/checklist.c | i = choice + 1; |
choice | 267 | scripts/lxdialog/checklist.c | if (i != choice) { |
choice | 269 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + choice) * 3 + 1], |
choice | 270 | scripts/lxdialog/checklist.c | status[scroll + choice], choice, FALSE); |
choice | 272 | scripts/lxdialog/checklist.c | choice = i; |
choice | 273 | scripts/lxdialog/checklist.c | print_item (list, items[(scroll + choice) * 3 + 1], |
choice | 274 | scripts/lxdialog/checklist.c | status[scroll + choice], choice, TRUE); |
choice | 302 | scripts/lxdialog/checklist.c | status[scroll + choice] = !status[scroll + choice]; |
choice | 303 | scripts/lxdialog/checklist.c | wmove (list, choice, check_x); |
choice | 305 | scripts/lxdialog/checklist.c | wprintw (list, "[%c]", status[scroll + choice] ? 'X' : ' '); |
choice | 307 | scripts/lxdialog/checklist.c | if (!status[scroll + choice]) { |
choice | 310 | scripts/lxdialog/checklist.c | status[scroll + choice] = 1; |
choice | 313 | 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 | 41 | scripts/lxdialog/menubox.c | wmove (win, choice, 0); |
choice | 45 | scripts/lxdialog/menubox.c | mvwaddstr (win, choice, item_x, menu_item); |
choice | 48 | scripts/lxdialog/menubox.c | mvwaddch(win, choice, item_x+j, menu_item[j]); |
choice | 124 | scripts/lxdialog/menubox.c | int key = 0, button = 0, scroll = 0, choice = 0, first_item = 0, max_choice; |
choice | 176 | scripts/lxdialog/menubox.c | if (strcmp(current, items[i*2]) == 0) choice = i; |
choice | 181 | scripts/lxdialog/menubox.c | if (choice >= max_choice){ |
choice | 182 | scripts/lxdialog/menubox.c | scroll = first_item = choice - max_choice + 1; |
choice | 183 | scripts/lxdialog/menubox.c | choice = max_choice-1; |
choice | 188 | scripts/lxdialog/menubox.c | print_item (menu, items[(first_item + i) * 2 + 1], i, i == choice, |
choice | 207 | scripts/lxdialog/menubox.c | for (i = choice+1; i < max_choice; i++) { |
choice | 225 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, FALSE, |
choice | 226 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 229 | scripts/lxdialog/menubox.c | if (choice < 2 && scroll) { |
choice | 240 | scripts/lxdialog/menubox.c | choice = MAX(choice - 1, 0); |
choice | 244 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, FALSE, |
choice | 245 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 247 | scripts/lxdialog/menubox.c | if ((choice > max_choice-3) && |
choice | 261 | scripts/lxdialog/menubox.c | choice = MIN(choice+1, max_choice-1); |
choice | 272 | scripts/lxdialog/menubox.c | choice = 0; |
choice | 284 | scripts/lxdialog/menubox.c | choice = 0; |
choice | 287 | scripts/lxdialog/menubox.c | choice = i; |
choice | 289 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, TRUE, |
choice | 290 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 317 | scripts/lxdialog/menubox.c | fprintf(stderr, "%s\n", items[(scroll + choice) * 2]); |
choice | 333 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2], |
choice | 334 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2 + 1] + |
choice | 335 | scripts/lxdialog/menubox.c | first_alpha(items[(scroll + choice) * 2 + 1],"")); |
choice | 337 | scripts/lxdialog/menubox.c | fprintf(stderr, "%s\n", items[(scroll + choice) * 2]); |