tag | line | file | source code |
width | 570 | 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 | 574 | 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 selected) |
width | 101 | scripts/lxdialog/checklist.c | int x = width / 2 - 11; |
width | 116 | scripts/lxdialog/checklist.c | dialog_checklist (const char *title, const char *prompt, int height, int width, |
width | 144 | scripts/lxdialog/checklist.c | x = (COLS - width) / 2; |
width | 147 | scripts/lxdialog/checklist.c | draw_shadow (stdscr, y, x, height, width); |
width | 149 | scripts/lxdialog/checklist.c | dialog = newwin (height, width, y, x); |
width | 152 | scripts/lxdialog/checklist.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 155 | scripts/lxdialog/checklist.c | for (i = 0; i < width - 2; i++) |
width | 162 | scripts/lxdialog/checklist.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 168 | scripts/lxdialog/checklist.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 170 | 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, 0); |
width | 293 | scripts/lxdialog/checklist.c | print_buttons(dialog, height, width, button); |
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 selected) |
width | 32 | scripts/lxdialog/inputbox.c | int x = width / 2 - 11; |
width | 46 | scripts/lxdialog/inputbox.c | dialog_inputbox (const char *title, const char *prompt, int height, int width, |
width | 55 | scripts/lxdialog/inputbox.c | x = (COLS - width) / 2; |
width | 59 | scripts/lxdialog/inputbox.c | draw_shadow (stdscr, y, x, height, width); |
width | 61 | scripts/lxdialog/inputbox.c | dialog = newwin (height, width, y, x); |
width | 64 | scripts/lxdialog/inputbox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 67 | scripts/lxdialog/inputbox.c | for (i = 0; i < width - 2; i++) |
width | 74 | scripts/lxdialog/inputbox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 80 | scripts/lxdialog/inputbox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 83 | scripts/lxdialog/inputbox.c | box_width = width - 6; |
width | 86 | scripts/lxdialog/inputbox.c | box_x = (width - box_width) / 2; |
width | 90 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 0); |
width | 184 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 1); |
width | 188 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 0); |
width | 194 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 0); |
width | 204 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 0); |
width | 208 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 1); |
width | 212 | scripts/lxdialog/inputbox.c | print_buttons(dialog, height, width, 0); |
width | 101 | scripts/lxdialog/menubox.c | print_buttons (WINDOW *win, int height, int width, int selected) |
width | 103 | scripts/lxdialog/menubox.c | int x = width / 2 - 16; |
width | 118 | scripts/lxdialog/menubox.c | dialog_menu (const char *title, const char *prompt, int height, int width, |
width | 130 | scripts/lxdialog/menubox.c | x = (COLS - width) / 2; |
width | 133 | scripts/lxdialog/menubox.c | draw_shadow (stdscr, y, x, height, width); |
width | 135 | scripts/lxdialog/menubox.c | dialog = newwin (height, width, y, x); |
width | 138 | scripts/lxdialog/menubox.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 141 | scripts/lxdialog/menubox.c | for (i = 0; i < width - 2; i++) |
width | 148 | scripts/lxdialog/menubox.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 154 | scripts/lxdialog/menubox.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 156 | scripts/lxdialog/menubox.c | menu_width = width - 6; |
width | 158 | scripts/lxdialog/menubox.c | box_x = (width - menu_width) / 2 - 1; |
width | 197 | scripts/lxdialog/menubox.c | print_buttons (dialog, height, width, 0); |
width | 308 | scripts/lxdialog/menubox.c | print_buttons(dialog, height, width, button); |
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 (prompt_len <= width - x * 2) { /* If prompt is short */ |
width | 216 | scripts/lxdialog/util.c | wmove (win, y, (width - prompt_len) / 2); |
width | 231 | scripts/lxdialog/util.c | room = width - cur_x; |
width | 286 | scripts/lxdialog/util.c | draw_box (WINDOW * win, int y, int x, int height, int width, |
width | 294 | scripts/lxdialog/util.c | for (j = 0; j < width; j++) |
width | 299 | scripts/lxdialog/util.c | else if (!i && j == width - 1) |
width | 301 | scripts/lxdialog/util.c | else if (i == height - 1 && j == width - 1) |
width | 309 | scripts/lxdialog/util.c | else if (j == width - 1) |
width | 321 | scripts/lxdialog/util.c | draw_shadow (WINDOW * win, int y, int x, int height, int width) |
width | 328 | scripts/lxdialog/util.c | for (i = 0; i < width; i++) |
width | 331 | scripts/lxdialog/util.c | wmove (win, i, x + width); |
width | 28 | scripts/lxdialog/yesno.c | print_buttons(WINDOW *dialog, int height, int width, int selected) |
width | 30 | scripts/lxdialog/yesno.c | int x = width / 2 - 10; |
width | 44 | scripts/lxdialog/yesno.c | dialog_yesno (const char *title, const char *prompt, int height, int width) |
width | 50 | scripts/lxdialog/yesno.c | x = (COLS - width) / 2; |
width | 53 | scripts/lxdialog/yesno.c | draw_shadow (stdscr, y, x, height, width); |
width | 55 | scripts/lxdialog/yesno.c | dialog = newwin (height, width, y, x); |
width | 58 | scripts/lxdialog/yesno.c | draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); |
width | 61 | scripts/lxdialog/yesno.c | for (i = 0; i < width - 2; i++) |
width | 68 | scripts/lxdialog/yesno.c | mvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' '); |
width | 74 | scripts/lxdialog/yesno.c | print_autowrap (dialog, prompt, width - 2, 1, 3); |
width | 76 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, 0); |
width | 96 | scripts/lxdialog/yesno.c | print_buttons(dialog, height, width, button); |