tag | line | file | source code |
dialog | 99 | scripts/lxdialog/checklist.c | print_buttons( WINDOW *dialog, int height, int width, int okval, int cancelval) |
dialog | 104 | scripts/lxdialog/checklist.c | print_button (dialog, "Select", y, x, okval); |
dialog | 105 | scripts/lxdialog/checklist.c | print_button (dialog, " Help ", y, x + 14, cancelval); |
dialog | 107 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 121 | scripts/lxdialog/checklist.c | WINDOW *dialog, *list; |
dialog | 148 | scripts/lxdialog/checklist.c | dialog = newwin (height, width, y, x); |
dialog | 149 | scripts/lxdialog/checklist.c | keypad (dialog, TRUE); |
dialog | 151 | scripts/lxdialog/checklist.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 152 | scripts/lxdialog/checklist.c | wattrset (dialog, border_attr); |
dialog | 153 | scripts/lxdialog/checklist.c | mvwaddch (dialog, height-3, 0, ACS_LTEE); |
dialog | 155 | scripts/lxdialog/checklist.c | waddch (dialog, ACS_HLINE); |
dialog | 156 | scripts/lxdialog/checklist.c | wattrset (dialog, dialog_attr); |
dialog | 157 | scripts/lxdialog/checklist.c | waddch (dialog, ACS_RTEE); |
dialog | 160 | scripts/lxdialog/checklist.c | wattrset (dialog, title_attr); |
dialog | 161 | scripts/lxdialog/checklist.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 162 | scripts/lxdialog/checklist.c | waddstr (dialog, (char *)title); |
dialog | 163 | scripts/lxdialog/checklist.c | waddch (dialog, ' '); |
dialog | 166 | scripts/lxdialog/checklist.c | wattrset (dialog, dialog_attr); |
dialog | 167 | scripts/lxdialog/checklist.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
dialog | 170 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 175 | scripts/lxdialog/checklist.c | list = subwin (dialog, list_height, list_width, y+box_y+1, x+box_x+1); |
dialog | 180 | scripts/lxdialog/checklist.c | draw_box (dialog, box_y, box_x, list_height + 2, list_width + 2, |
dialog | 197 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 200 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 203 | scripts/lxdialog/checklist.c | key = wgetch (dialog); |
dialog | 217 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 231 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 234 | scripts/lxdialog/checklist.c | wmove (dialog, cur_y, cur_x); |
dialog | 235 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 245 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 261 | scripts/lxdialog/checklist.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 264 | scripts/lxdialog/checklist.c | wmove (dialog, cur_y, cur_x); |
dialog | 265 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 273 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 281 | scripts/lxdialog/checklist.c | wmove (dialog, cur_y, cur_x); |
dialog | 282 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 290 | scripts/lxdialog/checklist.c | delwin (dialog); |
dialog | 299 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, FALSE, TRUE); |
dialog | 302 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 304 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 313 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 322 | scripts/lxdialog/checklist.c | getyx (dialog, cur_y, cur_x); |
dialog | 329 | scripts/lxdialog/checklist.c | wmove (dialog, cur_y, cur_x); |
dialog | 330 | scripts/lxdialog/checklist.c | wrefresh (dialog); |
dialog | 347 | scripts/lxdialog/checklist.c | delwin (dialog); |
dialog | 358 | scripts/lxdialog/checklist.c | delwin (dialog); |
dialog | 30 | scripts/lxdialog/inputbox.c | print_buttons(WINDOW *dialog, int height, int width, int okval, int cancelval) |
dialog | 35 | scripts/lxdialog/inputbox.c | print_button (dialog, " Ok ", y, x, okval); |
dialog | 36 | scripts/lxdialog/inputbox.c | print_button (dialog, " Help ", y, x + 14, cancelval); |
dialog | 38 | scripts/lxdialog/inputbox.c | wrefresh(dialog); |
dialog | 51 | scripts/lxdialog/inputbox.c | WINDOW *dialog; |
dialog | 60 | scripts/lxdialog/inputbox.c | dialog = newwin (height, width, y, x); |
dialog | 61 | scripts/lxdialog/inputbox.c | keypad (dialog, TRUE); |
dialog | 63 | scripts/lxdialog/inputbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 64 | scripts/lxdialog/inputbox.c | wattrset (dialog, border_attr); |
dialog | 65 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, height-3, 0, ACS_LTEE); |
dialog | 67 | scripts/lxdialog/inputbox.c | waddch (dialog, ACS_HLINE); |
dialog | 68 | scripts/lxdialog/inputbox.c | wattrset (dialog, dialog_attr); |
dialog | 69 | scripts/lxdialog/inputbox.c | waddch (dialog, ACS_RTEE); |
dialog | 72 | scripts/lxdialog/inputbox.c | wattrset (dialog, title_attr); |
dialog | 73 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 74 | scripts/lxdialog/inputbox.c | waddstr (dialog, (char *)title); |
dialog | 75 | scripts/lxdialog/inputbox.c | waddch (dialog, ' '); |
dialog | 78 | scripts/lxdialog/inputbox.c | wattrset (dialog, dialog_attr); |
dialog | 79 | scripts/lxdialog/inputbox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
dialog | 83 | scripts/lxdialog/inputbox.c | getyx (dialog, y, x); |
dialog | 86 | scripts/lxdialog/inputbox.c | draw_box (dialog, y + 1, box_x - 1, 3, box_width + 2, |
dialog | 89 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 92 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x); |
dialog | 93 | scripts/lxdialog/inputbox.c | wattrset (dialog, inputbox_attr); |
dialog | 106 | scripts/lxdialog/inputbox.c | waddch (dialog, instr[scroll + i]); |
dialog | 108 | scripts/lxdialog/inputbox.c | waddstr (dialog, instr); |
dialog | 110 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |
dialog | 112 | scripts/lxdialog/inputbox.c | wrefresh (dialog); |
dialog | 115 | scripts/lxdialog/inputbox.c | key = wgetch (dialog); |
dialog | 130 | scripts/lxdialog/inputbox.c | wattrset (dialog, inputbox_attr); |
dialog | 134 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x); |
dialog | 136 | scripts/lxdialog/inputbox.c | waddch (dialog, instr[scroll + input_x + i] ? |
dialog | 142 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, box_y, input_x + box_x, ' '); |
dialog | 143 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, input_x + box_x); |
dialog | 144 | scripts/lxdialog/inputbox.c | wrefresh (dialog); |
dialog | 150 | scripts/lxdialog/inputbox.c | wattrset (dialog, inputbox_attr); |
dialog | 155 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x); |
dialog | 157 | scripts/lxdialog/inputbox.c | waddch (dialog, instr[scroll + i]); |
dialog | 159 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, input_x++ + box_x); |
dialog | 160 | scripts/lxdialog/inputbox.c | waddch (dialog, key); |
dialog | 162 | scripts/lxdialog/inputbox.c | wrefresh (dialog); |
dialog | 172 | scripts/lxdialog/inputbox.c | delwin (dialog); |
dialog | 176 | scripts/lxdialog/inputbox.c | delwin (dialog); |
dialog | 183 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, FALSE, TRUE); |
dialog | 187 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 188 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |
dialog | 189 | scripts/lxdialog/inputbox.c | wrefresh (dialog); |
dialog | 193 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 203 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 207 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, FALSE, TRUE); |
dialog | 211 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 212 | scripts/lxdialog/inputbox.c | wmove (dialog, box_y, box_x + input_x); |
dialog | 213 | scripts/lxdialog/inputbox.c | wrefresh (dialog); |
dialog | 219 | scripts/lxdialog/inputbox.c | delwin (dialog); |
dialog | 229 | scripts/lxdialog/inputbox.c | delwin (dialog); |
dialog | 116 | scripts/lxdialog/menubox.c | WINDOW *dialog, *menu; |
dialog | 126 | scripts/lxdialog/menubox.c | dialog = newwin (height, width, y, x); |
dialog | 127 | scripts/lxdialog/menubox.c | keypad (dialog, TRUE); |
dialog | 129 | scripts/lxdialog/menubox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 130 | scripts/lxdialog/menubox.c | wattrset (dialog, border_attr); |
dialog | 131 | scripts/lxdialog/menubox.c | mvwaddch (dialog, height - 3, 0, ACS_LTEE); |
dialog | 133 | scripts/lxdialog/menubox.c | waddch (dialog, ACS_HLINE); |
dialog | 134 | scripts/lxdialog/menubox.c | wattrset (dialog, dialog_attr); |
dialog | 135 | scripts/lxdialog/menubox.c | waddch (dialog, ACS_RTEE); |
dialog | 138 | scripts/lxdialog/menubox.c | wattrset (dialog, title_attr); |
dialog | 139 | scripts/lxdialog/menubox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 140 | scripts/lxdialog/menubox.c | waddstr (dialog, (char *)title); |
dialog | 141 | scripts/lxdialog/menubox.c | waddch (dialog, ' '); |
dialog | 144 | scripts/lxdialog/menubox.c | wattrset (dialog, dialog_attr); |
dialog | 145 | scripts/lxdialog/menubox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
dialog | 148 | scripts/lxdialog/menubox.c | getyx (dialog, cur_y, cur_x); |
dialog | 153 | scripts/lxdialog/menubox.c | menu = subwin (dialog, menu_height, menu_width, |
dialog | 158 | scripts/lxdialog/menubox.c | draw_box (dialog, box_y, box_x, menu_height + 2, menu_width + 2, |
dialog | 186 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 189 | scripts/lxdialog/menubox.c | print_buttons (dialog, height, width, TRUE, FALSE, FALSE); |
dialog | 192 | scripts/lxdialog/menubox.c | key = wgetch (dialog); |
dialog | 212 | scripts/lxdialog/menubox.c | getyx (dialog, cur_y, cur_x); |
dialog | 227 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 230 | scripts/lxdialog/menubox.c | wmove (dialog, cur_y, cur_x); |
dialog | 239 | scripts/lxdialog/menubox.c | getyx (dialog, cur_y, cur_x); |
dialog | 256 | scripts/lxdialog/menubox.c | print_arrows(dialog, choice, item_no, scroll, |
dialog | 259 | scripts/lxdialog/menubox.c | wmove (dialog, cur_y, cur_x); |
dialog | 260 | scripts/lxdialog/menubox.c | wrefresh (dialog); |
dialog | 268 | scripts/lxdialog/menubox.c | getyx (dialog, cur_y, cur_x); /* Save cursor position */ |
dialog | 277 | scripts/lxdialog/menubox.c | wmove (dialog, cur_y, cur_x); |
dialog | 278 | scripts/lxdialog/menubox.c | wrefresh (dialog); |
dialog | 290 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, FALSE, TRUE, FALSE); |
dialog | 294 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, FALSE, FALSE, TRUE); |
dialog | 298 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, TRUE, FALSE, FALSE); |
dialog | 301 | scripts/lxdialog/menubox.c | wrefresh (dialog); |
dialog | 306 | scripts/lxdialog/menubox.c | delwin (dialog); |
dialog | 314 | scripts/lxdialog/menubox.c | delwin (dialog); |
dialog | 334 | scripts/lxdialog/menubox.c | delwin (dialog); |
dialog | 33 | scripts/lxdialog/msgbox.c | WINDOW *dialog; |
dialog | 41 | scripts/lxdialog/msgbox.c | dialog = newwin (height, width, y, x); |
dialog | 42 | scripts/lxdialog/msgbox.c | keypad (dialog, TRUE); |
dialog | 44 | scripts/lxdialog/msgbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 47 | scripts/lxdialog/msgbox.c | wattrset (dialog, title_attr); |
dialog | 48 | scripts/lxdialog/msgbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 49 | scripts/lxdialog/msgbox.c | waddstr (dialog, (char *)title); |
dialog | 50 | scripts/lxdialog/msgbox.c | waddch (dialog, ' '); |
dialog | 52 | scripts/lxdialog/msgbox.c | wattrset (dialog, dialog_attr); |
dialog | 53 | scripts/lxdialog/msgbox.c | print_autowrap (dialog, prompt, width - 2, 1, 2); |
dialog | 56 | scripts/lxdialog/msgbox.c | wattrset (dialog, border_attr); |
dialog | 57 | scripts/lxdialog/msgbox.c | mvwaddch (dialog, height - 3, 0, ACS_LTEE); |
dialog | 59 | scripts/lxdialog/msgbox.c | waddch (dialog, ACS_HLINE); |
dialog | 60 | scripts/lxdialog/msgbox.c | wattrset (dialog, dialog_attr); |
dialog | 61 | scripts/lxdialog/msgbox.c | waddch (dialog, ACS_RTEE); |
dialog | 63 | scripts/lxdialog/msgbox.c | print_button (dialog, " Ok ", |
dialog | 66 | scripts/lxdialog/msgbox.c | wrefresh (dialog); |
dialog | 69 | scripts/lxdialog/msgbox.c | key = wgetch (dialog); |
dialog | 72 | scripts/lxdialog/msgbox.c | wrefresh (dialog); |
dialog | 75 | scripts/lxdialog/msgbox.c | delwin (dialog); |
dialog | 43 | scripts/lxdialog/textbox.c | WINDOW *dialog, *text; |
dialog | 88 | scripts/lxdialog/textbox.c | dialog = newwin (height, width, y, x); |
dialog | 89 | scripts/lxdialog/textbox.c | keypad (dialog, TRUE); |
dialog | 92 | scripts/lxdialog/textbox.c | text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); |
dialog | 97 | scripts/lxdialog/textbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 99 | scripts/lxdialog/textbox.c | wattrset (dialog, border_attr); |
dialog | 100 | scripts/lxdialog/textbox.c | mvwaddch (dialog, height-3, 0, ACS_LTEE); |
dialog | 102 | scripts/lxdialog/textbox.c | waddch (dialog, ACS_HLINE); |
dialog | 103 | scripts/lxdialog/textbox.c | wattrset (dialog, dialog_attr); |
dialog | 104 | scripts/lxdialog/textbox.c | waddch (dialog, ACS_RTEE); |
dialog | 107 | scripts/lxdialog/textbox.c | wattrset (dialog, title_attr); |
dialog | 108 | scripts/lxdialog/textbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 109 | scripts/lxdialog/textbox.c | waddstr (dialog, (char *)title); |
dialog | 110 | scripts/lxdialog/textbox.c | waddch (dialog, ' '); |
dialog | 112 | scripts/lxdialog/textbox.c | print_button (dialog, " Exit ", height - 2, width / 2 - 4, TRUE); |
dialog | 113 | scripts/lxdialog/textbox.c | wnoutrefresh (dialog); |
dialog | 114 | scripts/lxdialog/textbox.c | getyx (dialog, cur_y, cur_x); /* Save cursor position */ |
dialog | 119 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 120 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); /* Restore cursor position */ |
dialog | 121 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 124 | scripts/lxdialog/textbox.c | key = wgetch (dialog); |
dialog | 130 | scripts/lxdialog/textbox.c | delwin (dialog); |
dialog | 162 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 163 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); /* Restore cursor position */ |
dialog | 164 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 196 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 197 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); /* Restore cursor position */ |
dialog | 198 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 230 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 231 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); /* Restore cursor position */ |
dialog | 232 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 242 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 243 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); |
dialog | 244 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 256 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 257 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); /* Restore cursor position */ |
dialog | 258 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 268 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
dialog | 269 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); |
dialog | 270 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 286 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); |
dialog | 287 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 298 | scripts/lxdialog/textbox.c | wmove (dialog, cur_y, cur_x); |
dialog | 299 | scripts/lxdialog/textbox.c | wrefresh (dialog); |
dialog | 306 | scripts/lxdialog/textbox.c | delwin (dialog); |
dialog | 28 | scripts/lxdialog/yesno.c | print_buttons(WINDOW *dialog, int height, int width, int okval, int cancelval) |
dialog | 33 | scripts/lxdialog/yesno.c | print_button (dialog, " Yes ", y, x, okval); |
dialog | 34 | scripts/lxdialog/yesno.c | print_button (dialog, " No ", y, x + 13, cancelval); |
dialog | 36 | scripts/lxdialog/yesno.c | wrefresh (dialog); |
dialog | 46 | scripts/lxdialog/yesno.c | WINDOW *dialog; |
dialog | 54 | scripts/lxdialog/yesno.c | dialog = newwin (height, width, y, x); |
dialog | 55 | scripts/lxdialog/yesno.c | keypad (dialog, TRUE); |
dialog | 57 | scripts/lxdialog/yesno.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
dialog | 58 | scripts/lxdialog/yesno.c | wattrset (dialog, border_attr); |
dialog | 59 | scripts/lxdialog/yesno.c | mvwaddch (dialog, height-3, 0, ACS_LTEE); |
dialog | 61 | scripts/lxdialog/yesno.c | waddch (dialog, ACS_HLINE); |
dialog | 62 | scripts/lxdialog/yesno.c | wattrset (dialog, dialog_attr); |
dialog | 63 | scripts/lxdialog/yesno.c | waddch (dialog, ACS_RTEE); |
dialog | 66 | scripts/lxdialog/yesno.c | wattrset (dialog, title_attr); |
dialog | 67 | scripts/lxdialog/yesno.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
dialog | 68 | scripts/lxdialog/yesno.c | waddstr (dialog, (char *)title); |
dialog | 69 | scripts/lxdialog/yesno.c | waddch (dialog, ' '); |
dialog | 72 | scripts/lxdialog/yesno.c | wattrset (dialog, dialog_attr); |
dialog | 73 | scripts/lxdialog/yesno.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
dialog | 75 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 78 | scripts/lxdialog/yesno.c | key = wgetch (dialog); |
dialog | 82 | scripts/lxdialog/yesno.c | delwin (dialog); |
dialog | 86 | scripts/lxdialog/yesno.c | delwin (dialog); |
dialog | 96 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, FALSE, TRUE); |
dialog | 99 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, TRUE, FALSE); |
dialog | 101 | scripts/lxdialog/yesno.c | wrefresh (dialog); |
dialog | 105 | scripts/lxdialog/yesno.c | delwin (dialog); |
dialog | 112 | scripts/lxdialog/yesno.c | delwin (dialog); |