Searched refs:win (Results 1 - 25 of 269) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwclrtobot.c49 wclrtobot(WINDOW *win) argument
52 int cury = win->_cury;
53 short curx = win->_curx;
55 if (win != curscr) {
56 savimmed = win->_immed;
57 savsync = win->_sync;
58 win->_immed = win->_sync = FALSE;
62 if (cury >= win->_tmarg && cury <= win
[all...]
H A Dredrawwin.c48 redrawwin(WINDOW *win) argument
50 return (wredrawln(win, 0, win->_maxy));
H A Dgetbegyx.c48 getbegy(WINDOW *win) argument
50 return (win->_begy);
54 getbegx(WINDOW *win) argument
56 return (win->_begx);
H A Dgetmaxyx.c48 getmaxy(WINDOW *win) argument
50 return (win->_maxy);
54 getmaxx(WINDOW *win) argument
56 return (win->_maxx);
H A Dgetparyx.c48 getpary(WINDOW *win) argument
50 return (win->_pary);
54 getparx(WINDOW *win) argument
56 return (win->_parx);
H A Dgetyx.c48 getcury(WINDOW *win) argument
50 return (win->_cury);
54 getcurx(WINDOW *win) argument
56 return (win->_curx);
H A Dwinch.c48 winch(WINDOW *win) argument
50 return (win->_y[win->_cury][win->_curx]);
H A Dwbkgdset.c39 wbkgdset(WINDOW *win, chtype c) argument
41 win->_attrs = (win->_attrs & ~(win->_bkgd & A_ATTRIBUTES)) |
43 win->_bkgd = c;
H A Dwmovenextch.c34 wmovenextch(WINDOW *win) argument
45 _yy = win->_y[win->_cury];
46 x = win->_curx;
48 if (x + 1 > win->_maxx) /* Can't move any more. */
53 if (x >= win->_maxx) /* No more space.. */
62 win->_curx = x;
63 win->_flags |= _WINMOVED;
64 return (win->_immed ? wrefresh(win)
[all...]
H A Dwmove.c50 wmove(WINDOW *win, int y, int x) argument
54 fprintf(outf, "MOVE to win ");
55 if (win == stdscr)
58 fprintf(outf, "%o ", win);
62 if (x < 0 || y < 0 || x >= win->_maxx || y >= win->_maxy)
65 if (y != win->_cury || x != win->_curx)
66 win->_nbyte = -1;
69 win
[all...]
H A Dwinwch.c42 winwch(WINDOW *win) argument
47 a = (win->_y[win->_cury][win->_curx]) & A_WATTRIBUTES;
49 (void) _curs_mbtowc(&wchar, wmbinch(win, win->_cury, win->_curx),
H A Dmakenew.c55 WINDOW *win; local
63 if ((win = (WINDOW *) malloc(sizeof (WINDOW))) == NULL)
65 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL)
68 if ((_y16update) && ((win->_y16 = (_ochtype **)
73 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short)))
76 if ((_y16update) && (win->_y16 != NULL))
77 free((char *) win->_y16);
80 free((char *) win->_y);
82 free((char *) win);
90 win
[all...]
H A Dmvwin.c50 mvwin(WINDOW *win, int by, int bx) argument
52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS ||
56 win->_begy = (short) by;
58 win->_begx = (short) bx;
59 (void) wtouchln(win, 0, win->_maxy, -1);
60 return (win->_immed ? wrefresh(win) : OK);
H A Dwmoveprevch.c34 wmoveprevch(WINDOW *win) argument
45 (void) wadjcurspos(win);
46 x = win->_curx;
49 _yy = win->_y[win->_cury];
53 win->_curx = x;
54 win->_flags |= _WINMOVED;
55 return (win->_immed ? wrefresh(win): OK);
H A Dsyncok.c48 syncok(WINDOW *win, bool bf) argument
50 return (win->_parent ? win->_sync = bf : ERR);
H A Dtouchwin.c48 touchwin(WINDOW *win) argument
50 return (wtouchln(win, 0, win->_maxy, TRUE));
H A Duntouchwin.c48 untouchwin(WINDOW *win) argument
50 return (wtouchln(win, 0, win->_maxy, FALSE));
H A D_wclear.c49 wclear(WINDOW *win) argument
51 win->_clear = TRUE;
52 return (werase(win));
H A D_werase.c49 werase(WINDOW *win) argument
51 (void) wmove(win, 0, 0);
52 return (wclrtobot(win));
/illumos-gate/usr/src/ucblib/libcurses/
H A Dinsch.c32 winsch(WINDOW *win, char c) argument
37 end = &win->_y[win->_cury][win->_curx];
38 temp1 = &win->_y[win->_cury][win->_maxx - 1];
43 (void) touchline(win, win->_cury, win
[all...]
H A Dinsertln.c33 winsertln(WINDOW *win) argument
40 fprintf(outf, "INSERTLN(%0.2o)\n", win);
42 if (win->_orig == NULL)
43 temp = win->_y[win->_maxy - 1];
44 for (y = win->_maxy - 1; y > win->_cury; --y) {
45 if (win->_orig == NULL)
46 win->_y[y] = win
[all...]
H A Ddeleteln.c33 wdeleteln(WINDOW *win) argument
40 fprintf(outf, "DELETELN(%0.2o)\n", win);
42 temp = win->_y[win->_cury];
43 for (y = win->_cury; y < win->_maxy - 1; y++) {
44 if (win->_orig == NULL)
45 win->_y[y] = win->_y[y + 1];
47 (void) memmove(win
[all...]
H A Ddelch.c32 wdelch(WINDOW *win) argument
37 end = &win->_y[win->_cury][win->_maxx - 1];
38 temp1 = &win->_y[win->_cury][win->_curx];
43 (void) touchline(win, win->_cury, win
[all...]
H A Dmvwin.c31 mvwin(WINDOW *win, int by, int bx) argument
36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS)
38 dy = by - win->_begy;
39 dx = bx - win->_begx;
40 orig = win->_orig;
42 orig = win;
44 win->_begy += dy;
45 win->_begx += dx;
46 _swflags_(win);
[all...]
H A Dscroll.c31 scroll(WINDOW *win) argument
36 fprintf(outf, "SCROLL(%0.2o)\n", win);
39 if (!win->_scroll)
42 getyx(win, oy, ox);
43 (void) wmove(win, 0, 0);
44 (void) wdeleteln(win);
45 (void) wmove(win, oy, ox);
47 if (win == curscr) {
50 win->_curx = 0;
52 fprintf(outf, "SCROLL: win
[all...]

Completed in 210 milliseconds

1234567891011