tag | line | file | source code |
width | 501 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_select(int width, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp) |
width | 505 | arch/sparc/kernel/sys_sunos.c | return sys_select (width, inp, outp, exp, tvp); |
width | 99 | scripts/lxdialog/checklist.c | print_buttons( WINDOW *dialog, int height, int width, int okval, int cancelval) |
width | 101 | scripts/lxdialog/checklist.c | int x = width / 2 - 11; |
width | 115 | scripts/lxdialog/checklist.c | dialog_checklist (const char *title, const char *prompt, int height, int width, |
width | 143 | scripts/lxdialog/checklist.c | x = (COLS - width) / 2; |
width | 146 | scripts/lxdialog/checklist.c | draw_shadow (stdscr, y, x, height, width); |
width | 148 | scripts/lxdialog/checklist.c | dialog = newwin (height, width, y, x); |
width | 151 | scripts/lxdialog/checklist.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 154 | scripts/lxdialog/checklist.c | for (i = 0; i < width - 2; i++) |
width | 161 | scripts/lxdialog/checklist.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 167 | scripts/lxdialog/checklist.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 169 | scripts/lxdialog/checklist.c | list_width = width - 6; |
width | 172 | scripts/lxdialog/checklist.c | box_x = (width - list_width) / 2 - 1; |
width | 200 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 299 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, FALSE, TRUE); |
width | 302 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 125 | scripts/lxdialog/dialog.h | void attr_clear (WINDOW * win, int height, int width, chtype attr); |
width | 128 | scripts/lxdialog/dialog.h | void print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x); |
width | 130 | scripts/lxdialog/dialog.h | void draw_box (WINDOW * win, int y, int x, int height, int width, chtype box, |
width | 132 | scripts/lxdialog/dialog.h | void draw_shadow (WINDOW * win, int y, int x, int height, int width); |
width | 135 | scripts/lxdialog/dialog.h | int dialog_yesno (const char *title, const char *prompt, int height, int width); |
width | 137 | scripts/lxdialog/dialog.h | int width, int pause); |
width | 138 | scripts/lxdialog/dialog.h | int dialog_textbox (const char *title, const char *file, int height, int width); |
width | 139 | scripts/lxdialog/dialog.h | int dialog_menu (const char *title, const char *prompt, int height, int width, |
width | 143 | scripts/lxdialog/dialog.h | int width, int list_height, int item_no, |
width | 147 | scripts/lxdialog/dialog.h | int width, const char *init); |
width | 148 | scripts/lxdialog/dialog.h | int dialog_guage (const char *title, const char *prompt, int height, int width, |
width | 30 | scripts/lxdialog/inputbox.c | print_buttons(WINDOW *dialog, int height, int width, int okval, int cancelval) |
width | 32 | scripts/lxdialog/inputbox.c | int x = width / 2 - 11; |
width | 45 | scripts/lxdialog/inputbox.c | dialog_inputbox (const char *title, const char *prompt, int height, int width, |
width | 54 | scripts/lxdialog/inputbox.c | x = (COLS - width) / 2; |
width | 58 | scripts/lxdialog/inputbox.c | draw_shadow (stdscr, y, x, height, width); |
width | 60 | scripts/lxdialog/inputbox.c | dialog = newwin (height, width, y, x); |
width | 63 | scripts/lxdialog/inputbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 66 | scripts/lxdialog/inputbox.c | for (i = 0; i < width - 2; i++) |
width | 73 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 79 | scripts/lxdialog/inputbox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 82 | scripts/lxdialog/inputbox.c | box_width = width - 6; |
width | 85 | scripts/lxdialog/inputbox.c | box_x = (width - box_width) / 2; |
width | 89 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 183 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, FALSE, TRUE); |
width | 187 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 193 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 203 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 207 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, FALSE, TRUE); |
width | 211 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 92 | scripts/lxdialog/menubox.c | print_buttons (WINDOW *win, int height, int width, |
width | 95 | scripts/lxdialog/menubox.c | int x = width / 2 - 16; |
width | 109 | scripts/lxdialog/menubox.c | dialog_menu (const char *title, const char *prompt, int height, int width, |
width | 121 | scripts/lxdialog/menubox.c | x = (COLS - width) / 2; |
width | 124 | scripts/lxdialog/menubox.c | draw_shadow (stdscr, y, x, height, width); |
width | 126 | scripts/lxdialog/menubox.c | dialog = newwin (height, width, y, x); |
width | 129 | scripts/lxdialog/menubox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 132 | scripts/lxdialog/menubox.c | for (i = 0; i < width - 2; i++) |
width | 139 | scripts/lxdialog/menubox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 145 | scripts/lxdialog/menubox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 147 | scripts/lxdialog/menubox.c | menu_width = width - 6; |
width | 150 | scripts/lxdialog/menubox.c | box_x = (width - menu_width) / 2 - 1; |
width | 189 | scripts/lxdialog/menubox.c | print_buttons (dialog, height, width, TRUE, FALSE, FALSE); |
width | 290 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, FALSE, TRUE, FALSE); |
width | 294 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, FALSE, FALSE, TRUE); |
width | 298 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, TRUE, FALSE, FALSE); |
width | 29 | scripts/lxdialog/msgbox.c | dialog_msgbox (const char *title, const char *prompt, int height, int width, |
width | 36 | scripts/lxdialog/msgbox.c | x = (COLS - width) / 2; |
width | 39 | scripts/lxdialog/msgbox.c | draw_shadow (stdscr, y, x, height, width); |
width | 41 | scripts/lxdialog/msgbox.c | dialog = newwin (height, width, y, x); |
width | 44 | scripts/lxdialog/msgbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 48 | scripts/lxdialog/msgbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 53 | scripts/lxdialog/msgbox.c | print_autowrap (dialog, prompt, width - 2, 1, 2); |
width | 58 | scripts/lxdialog/msgbox.c | for (i = 0; i < width - 2; i++) |
width | 64 | scripts/lxdialog/msgbox.c | height - 2, width / 2 - 4, TRUE); |
width | 25 | scripts/lxdialog/textbox.c | static void print_page (WINDOW * win, int height, int width); |
width | 26 | scripts/lxdialog/textbox.c | static void print_line (WINDOW * win, int row, int width); |
width | 28 | scripts/lxdialog/textbox.c | static void print_position (WINDOW * win, int height, int width); |
width | 38 | scripts/lxdialog/textbox.c | dialog_textbox (const char *title, const char *file, int height, int width) |
width | 82 | scripts/lxdialog/textbox.c | x = (COLS - width) / 2; |
width | 86 | scripts/lxdialog/textbox.c | draw_shadow (stdscr, y, x, height, width); |
width | 88 | scripts/lxdialog/textbox.c | dialog = newwin (height, width, y, x); |
width | 92 | scripts/lxdialog/textbox.c | text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); |
width | 97 | scripts/lxdialog/textbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 101 | scripts/lxdialog/textbox.c | for (i = 0; i < width - 2; i++) |
width | 108 | scripts/lxdialog/textbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 112 | scripts/lxdialog/textbox.c | print_button (dialog, " Exit ", height - 2, width / 2 - 4, TRUE); |
width | 117 | scripts/lxdialog/textbox.c | attr_clear (text, height - 4, width - 2, dialog_attr); |
width | 118 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 119 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 161 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 162 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 195 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 196 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 219 | scripts/lxdialog/textbox.c | print_line (text, 0, width - 2); |
width | 230 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 241 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 242 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 254 | scripts/lxdialog/textbox.c | print_line (text, height - 5, width - 2); |
width | 256 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 267 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 268 | scripts/lxdialog/textbox.c | print_position (dialog, height, width); |
width | 285 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 297 | scripts/lxdialog/textbox.c | print_page (text, height - 4, width - 2); |
width | 430 | scripts/lxdialog/textbox.c | print_page (WINDOW * win, int height, int width) |
width | 436 | scripts/lxdialog/textbox.c | print_line (win, i, width); |
width | 449 | scripts/lxdialog/textbox.c | print_line (WINDOW * win, int row, int width) |
width | 458 | scripts/lxdialog/textbox.c | waddnstr (win, line, MIN (strlen (line), width - 2)); |
width | 462 | scripts/lxdialog/textbox.c | for (i = 0; i < width - x; i++) |
width | 523 | scripts/lxdialog/textbox.c | print_position (WINDOW * win, int height, int width) |
width | 535 | scripts/lxdialog/textbox.c | wmove (win, height - 3, width - 9); |
width | 112 | scripts/lxdialog/util.c | attr_clear (WINDOW * win, int height, int width, chtype attr) |
width | 119 | scripts/lxdialog/util.c | for (j = 0; j < width; j++) |
width | 198 | scripts/lxdialog/util.c | print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x) |
width | 215 | scripts/lxdialog/util.c | if (strlen (tempstr) <= width - x * 2) { /* If prompt is short */ |
width | 216 | scripts/lxdialog/util.c | wmove (win, y, (width - strlen (tempstr)) / 2); |
width | 225 | scripts/lxdialog/util.c | if (cur_x + strlen (word) > width) { |
width | 269 | scripts/lxdialog/util.c | draw_box (WINDOW * win, int y, int x, int height, int width, |
width | 277 | scripts/lxdialog/util.c | for (j = 0; j < width; j++) |
width | 282 | scripts/lxdialog/util.c | else if (!i && j == width - 1) |
width | 284 | scripts/lxdialog/util.c | else if (i == height - 1 && j == width - 1) |
width | 292 | scripts/lxdialog/util.c | else if (j == width - 1) |
width | 304 | scripts/lxdialog/util.c | draw_shadow (WINDOW * win, int y, int x, int height, int width) |
width | 311 | scripts/lxdialog/util.c | for (i = 0; i < width; i++) |
width | 314 | scripts/lxdialog/util.c | wmove (win, i, x + width); |
width | 28 | scripts/lxdialog/yesno.c | print_buttons(WINDOW *dialog, int height, int width, int okval, int cancelval) |
width | 30 | scripts/lxdialog/yesno.c | int x = width / 2 - 10; |
width | 43 | scripts/lxdialog/yesno.c | dialog_yesno (const char *title, const char *prompt, int height, int width) |
width | 49 | scripts/lxdialog/yesno.c | x = (COLS - width) / 2; |
width | 52 | scripts/lxdialog/yesno.c | draw_shadow (stdscr, y, x, height, width); |
width | 54 | scripts/lxdialog/yesno.c | dialog = newwin (height, width, y, x); |
width | 57 | scripts/lxdialog/yesno.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 60 | scripts/lxdialog/yesno.c | for (i = 0; i < width - 2; i++) |
width | 67 | scripts/lxdialog/yesno.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 73 | scripts/lxdialog/yesno.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 75 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, TRUE, FALSE); |
width | 96 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, FALSE, TRUE); |
width | 99 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, TRUE, FALSE); |