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 | 56 | scripts/lxdialog/menubox.c | print_arrows (WINDOW * win, int choice, int item_no, int scroll, |
choice | 81 | scripts/lxdialog/menubox.c | if ((height < item_no) && (scroll + choice < item_no - 1)) { |
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 | 194 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 202 | scripts/lxdialog/menubox.c | for (i = choice+1; i < max_choice; i++) { |
choice | 216 | scripts/lxdialog/menubox.c | if (choice == 0) { |
choice | 233 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 239 | scripts/lxdialog/menubox.c | i = choice - 1; |
choice | 241 | scripts/lxdialog/menubox.c | if (choice == max_choice - 1) { |
choice | 242 | scripts/lxdialog/menubox.c | if (scroll + choice < item_no - 1) { |
choice | 260 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
choice | 267 | scripts/lxdialog/menubox.c | i = choice + 1; |
choice | 269 | scripts/lxdialog/menubox.c | if (i != choice) { |
choice | 271 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, FALSE, |
choice | 272 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 275 | scripts/lxdialog/menubox.c | choice = i; |
choice | 276 | scripts/lxdialog/menubox.c | print_item (menu, items[(scroll+choice)*2+1], choice, TRUE, |
choice | 277 | scripts/lxdialog/menubox.c | (items[(scroll+choice)*2][0] != ':')); |
choice | 298 | scripts/lxdialog/menubox.c | fprintf(stderr, items[(scroll + choice) * 2]); |
choice | 308 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2], |
choice | 309 | scripts/lxdialog/menubox.c | items[(scroll + choice) * 2 + 1] + |
choice | 310 | scripts/lxdialog/menubox.c | first_alpha(items[(scroll + choice) * 2 + 1])); |
choice | 312 | scripts/lxdialog/menubox.c | fprintf(stderr, items[(scroll + choice) * 2]); |