tag | line | file | source code |
width | 2530 | arch/m68k/amiga/amifb.c | var->width = -1; |
width | 3480 | arch/m68k/amiga/amifb.c | var->width = -1; |
width | 4237 | arch/m68k/amiga/amifb.c | #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7fff-(val))>>16) |
width | 4238 | arch/m68k/amiga/amifb.c | #define CNVT_FROMHW(val,width) (((width) ? ((((val)<<16)-(val)) / \ |
width | 4239 | arch/m68k/amiga/amifb.c | ((1<<(width))-1)) : 0)) |
width | 613 | arch/m68k/atari/atafb.c | var->width=-1; |
width | 1292 | arch/m68k/atari/atafb.c | var->width=-1; |
width | 1792 | arch/m68k/atari/atafb.c | var->width=-1; |
width | 2093 | arch/m68k/atari/atafb.c | var->width=-1; |
width | 2383 | arch/m68k/atari/atafb.c | #define CNVT_TOHW(val,width) (((val) << (width)) + 0x7fff - (val)) >> 16 |
width | 2384 | arch/m68k/atari/atafb.c | #define CNVT_FROMHW(val,width) ((width)?((((val) << 16) - (val)) / ((1<<(width))-1)):0) |
width | 229 | arch/m68k/console/fbcon.c | int width); |
width | 236 | arch/m68k/console/fbcon.c | int height, int width); |
width | 273 | arch/m68k/console/fbcon.c | int height, int width, u_int y_break); |
width | 282 | arch/m68k/console/fbcon.c | int height, int width); |
width | 284 | arch/m68k/console/fbcon.c | int height, int width); |
width | 299 | arch/m68k/console/fbcon.c | int height, int width); |
width | 301 | arch/m68k/console/fbcon.c | int height, int width); |
width | 316 | arch/m68k/console/fbcon.c | int height, int width); |
width | 318 | arch/m68k/console/fbcon.c | int height, int width); |
width | 333 | arch/m68k/console/fbcon.c | int height, int width); |
width | 335 | arch/m68k/console/fbcon.c | int sx, int height, int width); |
width | 350 | arch/m68k/console/fbcon.c | int height, int width); |
width | 352 | arch/m68k/console/fbcon.c | int sx, int height, int width); |
width | 367 | arch/m68k/console/fbcon.c | int height, int width); |
width | 369 | arch/m68k/console/fbcon.c | int sx, int height, int width); |
width | 384 | arch/m68k/console/fbcon.c | int height, int width); |
width | 386 | arch/m68k/console/fbcon.c | int sx, int height, int width); |
width | 401 | arch/m68k/console/fbcon.c | int height, int width); |
width | 403 | arch/m68k/console/fbcon.c | int sx, int height, int width); |
width | 418 | arch/m68k/console/fbcon.c | int height, int width); |
width | 420 | arch/m68k/console/fbcon.c | int height, int width); |
width | 430 | arch/m68k/console/fbcon.c | u_short desty, u_short width, u_short height, |
width | 432 | arch/m68k/console/fbcon.c | extern void Cyber_RectFill(u_short x, u_short y, u_short width, u_short height, |
width | 444 | arch/m68k/console/fbcon.c | int width); |
width | 446 | arch/m68k/console/fbcon.c | int height, int width); |
width | 1386 | arch/m68k/console/fbcon.c | int width) |
width | 1396 | arch/m68k/console/fbcon.c | (sx <= p->cursor_x) && (p->cursor_x < sx+width)) |
width | 1404 | arch/m68k/console/fbcon.c | p->dispsw->clear(conp, p, real_y(p, sy), sx, b, width); |
width | 1405 | arch/m68k/console/fbcon.c | p->dispsw->clear(conp, p, real_y(p, sy+b), sx, height-b, width); |
width | 1407 | arch/m68k/console/fbcon.c | p->dispsw->clear(conp, p, real_y(p, sy), sx, height, width); |
width | 1607 | arch/m68k/console/fbcon.c | int height, int width) |
width | 1616 | arch/m68k/console/fbcon.c | (sx <= p->cursor_x) && (p->cursor_x < sx+width)) || |
width | 1618 | arch/m68k/console/fbcon.c | (dx <= p->cursor_x) && (p->cursor_x < dx+width))) |
width | 1628 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, height, width, conp->vc_rows-p->yscroll); |
width | 1635 | arch/m68k/console/fbcon.c | int height, int width, u_int y_break) |
width | 1642 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
width | 1643 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
width | 1645 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
width | 1646 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
width | 1654 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
width | 1655 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
width | 1657 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy+b, sx, dy+b, dx, height-b, width, y_break); |
width | 1658 | arch/m68k/console/fbcon.c | fbcon_bmove_rec(p, sy, sx, dy, dx, b, width, y_break); |
width | 1662 | arch/m68k/console/fbcon.c | p->dispsw->bmove(p, real_y(p, sy), sx, real_y(p, dy), dx, height, width); |
width | 1720 | arch/m68k/console/fbcon.c | int height, int width) |
width | 1725 | arch/m68k/console/fbcon.c | if (sx == 0 && sy == 0 && width == p->next_line) { |
width | 1727 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*width; |
width | 1728 | arch/m68k/console/fbcon.c | mymemmove(dest, src, height*p->fontheight*width); |
width | 1733 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 1741 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 1750 | arch/m68k/console/fbcon.c | int height, int width) |
width | 1757 | arch/m68k/console/fbcon.c | if (sx == 0 && width == p->next_line) |
width | 1759 | arch/m68k/console/fbcon.c | mymemset(dest, height*p->fontheight*width); |
width | 1761 | arch/m68k/console/fbcon.c | mymemclear(dest, height*p->fontheight*width); |
width | 1765 | arch/m68k/console/fbcon.c | mymemset(dest, width); |
width | 1767 | arch/m68k/console/fbcon.c | mymemclear_small(dest, width); |
width | 1858 | arch/m68k/console/fbcon.c | int height, int width) |
width | 1860 | arch/m68k/console/fbcon.c | if (sx == 0 && sy == 0 && width == p->next_plane) |
width | 1871 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 1881 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 1889 | arch/m68k/console/fbcon.c | int height, int width) |
width | 1902 | arch/m68k/console/fbcon.c | mymemset(dest, width); |
width | 1904 | arch/m68k/console/fbcon.c | mymemclear(dest, width); |
width | 2077 | arch/m68k/console/fbcon.c | int height, int width) |
width | 2082 | arch/m68k/console/fbcon.c | if (sx == 0 && sy == 0 && width == p->next_line) { |
width | 2084 | arch/m68k/console/fbcon.c | dest = p->screen_base+dy*p->fontheight*width; |
width | 2086 | arch/m68k/console/fbcon.c | mymemmove(dest, src, height*p->fontheight*width); |
width | 2097 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 2113 | arch/m68k/console/fbcon.c | mymemmove(dest, src, width); |
width | 2123 | arch/m68k/console/fbcon.c | int height, int width) |
width | 2136 | arch/m68k/console/fbcon.c | mymemset(dest, width); |
width | 2138 | arch/m68k/console/fbcon.c | mymemclear(dest, width); |
width | 2323 | arch/m68k/console/fbcon.c | int height, int width) |
width | 2337 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/2) { |
width | 2365 | arch/m68k/console/fbcon.c | --width; |
width | 2368 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2370 | arch/m68k/console/fbcon.c | mymemmove(dst, src, (width>>1)*4); |
width | 2376 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2379 | arch/m68k/console/fbcon.c | memmove_2p_col(dst + (width>>1)*4, src + (width>>1)*4, |
width | 2385 | arch/m68k/console/fbcon.c | if (!((sx+width-1) & 1)) { |
width | 2386 | arch/m68k/console/fbcon.c | src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*4; |
width | 2387 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*4; |
width | 2389 | arch/m68k/console/fbcon.c | --width; |
width | 2395 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2401 | arch/m68k/console/fbcon.c | mymemmove(dst, src, (width>>1)*4); |
width | 2405 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2417 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2424 | arch/m68k/console/fbcon.c | sx += width-1; |
width | 2425 | arch/m68k/console/fbcon.c | dx += width-1; |
width | 2428 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2442 | arch/m68k/console/fbcon.c | int sx, int height, int width) |
width | 2455 | arch/m68k/console/fbcon.c | if (sx == 0 && width == bytes/2) { |
width | 2477 | arch/m68k/console/fbcon.c | width--; |
width | 2480 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2481 | arch/m68k/console/fbcon.c | memclear_2p_col(start + (width>>1)*4, lines, pcval, bytes); |
width | 2482 | arch/m68k/console/fbcon.c | width--; |
width | 2485 | arch/m68k/console/fbcon.c | if (width) { |
width | 2487 | arch/m68k/console/fbcon.c | memset_even_2p(start, width*2, cval); |
width | 2587 | arch/m68k/console/fbcon.c | int height, int width) |
width | 2601 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/4) { |
width | 2629 | arch/m68k/console/fbcon.c | --width; |
width | 2632 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2634 | arch/m68k/console/fbcon.c | mymemmove(dst, src, (width>>1)*8); |
width | 2640 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2643 | arch/m68k/console/fbcon.c | memmove_4p_col(dst + (width>>1)*8, src + (width>>1)*8, |
width | 2649 | arch/m68k/console/fbcon.c | if (!((sx+width-1) & 1)) { |
width | 2650 | arch/m68k/console/fbcon.c | src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*8; |
width | 2651 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*8; |
width | 2653 | arch/m68k/console/fbcon.c | --width; |
width | 2659 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2665 | arch/m68k/console/fbcon.c | mymemmove(dst, src, (width>>1)*8); |
width | 2669 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2681 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2688 | arch/m68k/console/fbcon.c | sx += width-1; |
width | 2689 | arch/m68k/console/fbcon.c | dx += width-1; |
width | 2692 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2706 | arch/m68k/console/fbcon.c | int sx, int height, int width) |
width | 2718 | arch/m68k/console/fbcon.c | if (sx == 0 && width == bytes/4) { |
width | 2740 | arch/m68k/console/fbcon.c | width--; |
width | 2743 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2744 | arch/m68k/console/fbcon.c | memclear_4p_col(start + (width>>1)*8, lines, pcval, bytes); |
width | 2745 | arch/m68k/console/fbcon.c | width--; |
width | 2748 | arch/m68k/console/fbcon.c | if (width) { |
width | 2750 | arch/m68k/console/fbcon.c | memset_even_4p(start, width*4, cval1, cval2); |
width | 2866 | arch/m68k/console/fbcon.c | int height, int width) |
width | 2880 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width == p->next_line/8) { |
width | 2908 | arch/m68k/console/fbcon.c | --width; |
width | 2911 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2913 | arch/m68k/console/fbcon.c | fast_memmove (dst, src, (width >> 1) * 16); |
width | 2919 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2922 | arch/m68k/console/fbcon.c | memmove_8p_col(dst + (width>>1)*16, src + (width>>1)*16, |
width | 2928 | arch/m68k/console/fbcon.c | if (!((sx+width-1) & 1)) { |
width | 2929 | arch/m68k/console/fbcon.c | src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*16; |
width | 2930 | arch/m68k/console/fbcon.c | dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*16; |
width | 2932 | arch/m68k/console/fbcon.c | --width; |
width | 2938 | arch/m68k/console/fbcon.c | if (width > 1) { |
width | 2944 | arch/m68k/console/fbcon.c | fast_memmove (dst, src, (width>>1)*16); |
width | 2948 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 2960 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2967 | arch/m68k/console/fbcon.c | sx += width-1; |
width | 2968 | arch/m68k/console/fbcon.c | dx += width-1; |
width | 2971 | arch/m68k/console/fbcon.c | for(cols = width; cols > 0; --cols) { |
width | 2985 | arch/m68k/console/fbcon.c | int sx, int height, int width) |
width | 2997 | arch/m68k/console/fbcon.c | if (sx == 0 && width == bytes/8) { |
width | 3019 | arch/m68k/console/fbcon.c | width--; |
width | 3022 | arch/m68k/console/fbcon.c | if (width & 1) { |
width | 3023 | arch/m68k/console/fbcon.c | memclear_8p_col(start + (width>>1)*16, lines, pcval1, |
width | 3025 | arch/m68k/console/fbcon.c | width--; |
width | 3028 | arch/m68k/console/fbcon.c | if (width) { |
width | 3030 | arch/m68k/console/fbcon.c | memset_even_8p(start, width*8, cval1, cval2, cval3, cval4); |
width | 3153 | arch/m68k/console/fbcon.c | int height, int width) |
width | 3158 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width * 8 == bytes) { |
width | 3168 | arch/m68k/console/fbcon.c | mymemmove(dst, src, width * 8); |
width | 3179 | arch/m68k/console/fbcon.c | mymemmove(dst, src, width * 8); |
width | 3189 | arch/m68k/console/fbcon.c | int sx, int height, int width) |
width | 3201 | arch/m68k/console/fbcon.c | if (sx == 0 && width * 8 == bytes) { |
width | 3202 | arch/m68k/console/fbcon.c | for (i = 0 ; i < lines * width ; i++) { |
width | 3211 | arch/m68k/console/fbcon.c | for (i = 0 ; i < width ; i++) { |
width | 3309 | arch/m68k/console/fbcon.c | int height, int width) |
width | 3314 | arch/m68k/console/fbcon.c | if (sx == 0 && dx == 0 && width * 16 == bytes) { |
width | 3324 | arch/m68k/console/fbcon.c | mymemmove(dst, src, width * 16); |
width | 3335 | arch/m68k/console/fbcon.c | mymemmove(dst, src, width * 16); |
width | 3345 | arch/m68k/console/fbcon.c | int sx, int height, int width) |
width | 3357 | arch/m68k/console/fbcon.c | if (sx == 0 && width * 16 == bytes) { |
width | 3358 | arch/m68k/console/fbcon.c | for (i = 0 ; i < lines * width ; i++) { |
width | 3369 | arch/m68k/console/fbcon.c | for (i = 0 ; i < width ; i++) { |
width | 3475 | arch/m68k/console/fbcon.c | int height, int width) |
width | 3477 | arch/m68k/console/fbcon.c | sx *= 8; dx *= 8; width *= 8; |
width | 3479 | arch/m68k/console/fbcon.c | (u_short)(dy*p->fontheight), (u_short)width, |
width | 3485 | arch/m68k/console/fbcon.c | int height, int width) |
width | 3489 | arch/m68k/console/fbcon.c | sx *= 8; width *= 8; |
width | 3491 | arch/m68k/console/fbcon.c | Cyber_RectFill((u_short)sx, (u_short)(sy*p->fontheight), (u_short)width, |
width | 39 | arch/m68k/console/fonts.c | int *width; |
width | 56 | arch/m68k/console/fonts.c | int findsoftfont(char *name, int *width, int *height, u_char *data[]) |
width | 62 | arch/m68k/console/fonts.c | if (width) |
width | 63 | arch/m68k/console/fonts.c | *width = *softfonts[i].width; |
width | 78 | arch/m68k/console/fonts.c | void getdefaultfont(int xres, int yres, char *name[], int *width, int *height, |
width | 84 | arch/m68k/console/fonts.c | if (width) |
width | 85 | arch/m68k/console/fonts.c | *width = fontwidth_8x8; |
width | 93 | arch/m68k/console/fonts.c | if (width) |
width | 94 | arch/m68k/console/fonts.c | *width = fontwidth_8x16; |
width | 29 | arch/m68k/console/txtcon.c | int width); |
width | 36 | arch/m68k/console/txtcon.c | int height, int width); |
width | 66 | arch/m68k/console/txtcon.c | int width) |
width | 98 | arch/m68k/console/txtcon.c | int height, int width) |
width | 583 | 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 | 587 | arch/sparc/kernel/sys_sunos.c | return sys_select (width, inp, outp, exp, tvp); |
width | 21 | include/asm-m68k/font.h | extern int findsoftfont(char *name, int *width, int *heigth, u_char *data[]); |
width | 28 | include/asm-m68k/font.h | extern void getdefaultfont(int xres, int yres, char *name[], int *width, |
width | 103 | include/linux/fb.h | int width; /* width of picture in mm */ |
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 | 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); |