Home
last modified time | relevance | path

Searched refs:cury (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwvline.c48 short cury = win->_cury, curx = win->_curx; in wvline() local
50 short *firstch = &(win->_firstch[cury]); in wvline()
51 short *lastch = &(win->_lastch[cury]); in wvline()
56 if (num_chars > win->_maxy - cury) in wvline()
57 num_chars = win->_maxy - cury; in wvline()
62 for (num_chars += cury; cury < num_chars; cury++, firstch++, in wvline()
64 fp[cury][curx] = vertch; in wvline()
H A Dwaddnstr.c51 short maxx_1 = win->_maxx - 1, cury = win->_cury, in waddnstr() local
85 cury = win->_cury; in waddnstr()
109 cury = win->_cury; in waddnstr()
116 if (_scrmax > 1 && ISMBIT(_y[cury][curx]) && in waddnstr()
117 (rv = _mbclrch(win, cury, curx)) == ERR) in waddnstr()
119 if (curx < win->_firstch[cury]) in waddnstr()
120 win->_firstch[cury] = curx; in waddnstr()
121 if (curx > win->_lastch[cury]) in waddnstr()
122 win->_lastch[cury] = curx; in waddnstr()
124 _y[cury][curx] = ch; in waddnstr()
[all …]
H A Dwdelch.c55 int cury = win->_cury; in wdelch() local
60 end = &win->_y[cury][win->_maxx - 1]; in wdelch()
61 temp2 = &win->_y[cury][curx + 1]; in wdelch()
72 temp1 = &win->_y[cury][curx]; in wdelch()
84 temp2 = &win->_y[cury][curx+s]; in wdelch()
95 (*_y16update)(win, 1, win->_maxx - curx, cury, curx); in wdelch()
98 win->_lastch[cury] = win->_maxx - 1; in wdelch()
99 if (win->_firstch[cury] > curx) in wdelch()
100 win->_firstch[cury] = curx; in wdelch()
H A Dwhline.c47 short cury = win->_cury, curx = win->_curx; in whline() local
48 chtype a, *fp = &(win->_y[cury][curx]); in whline()
60 if (curx < win->_firstch[cury]) in whline()
61 win->_firstch[cury] = curx; in whline()
62 if ((curx += (num_chars - 1)) > win->_lastch[cury]) in whline()
63 win->_lastch[cury] = curx; in whline()
H A Dwinsch.c52 int n, cury = win->_cury; in winsch() local
77 if (cury >= (win->_maxy-1) || cury == win->_bmarg) in winsch()
102 wcp = win->_y[cury] + curx; in winsch()
118 if (curx < win->_firstch[cury]) in winsch()
119 win->_firstch[cury] = curx; in winsch()
120 win->_lastch[cury] = win->_maxx-1; in winsch()
H A Dwinsnstr.c57 int x, cury, endx, maxx, len; in winsnstr() local
112 cury = win->_cury; in winsnstr()
118 wcp = win->_y[cury] + win->_curx; in winsnstr()
133 wcp = win->_y[cury] + win->_curx; in winsnstr()
137 (void) _mbclrch(win, cury, win->_curx); in winsnstr()
153 if (win->_firstch[cury] > win->_curx) in winsnstr()
154 win->_firstch[cury] = win->_curx; in winsnstr()
155 win->_lastch[cury] = maxx - 1; in winsnstr()
H A Dwscrl.c49 short curx, cury; in wscrl() local
69 curx = win->_curx; cury = win->_cury; in wscrl()
71 if (cury >= win->_tmarg && cury <= win->_bmarg) in wscrl()
78 win->_cury = cury; in wscrl()
H A Dwclrtobot.c50 int cury = win->_cury; in wclrtobot() local
60 if (cury >= win->_tmarg && cury <= win->_bmarg) in wclrtobot()
66 for (; win->_cury > cury; win->_cury--) in wclrtobot()
H A Dmvcur.c87 mvcur(int cury, int curx, int newy, int newx) in mvcur() argument
95 if (cury == newy && curx == newx) in mvcur()
117 cury >= 0 && cury < curscr->_maxy && in mvcur()
119 if (cursor_down && (newy == (cury + 1)) && in mvcur()
128 if (cury == newy && newx < curx - 4 && newx > curx + 4) { in mvcur()
144 if (rl >= LARGECOST && cury >= 0 && cury < curscr->_maxy && in mvcur()
146 rl = _mvrel(cury, curx, newy, newx, FALSE); in mvcur()
166 (void) _mvrel(cury, curx, newy, newx, TRUE); in mvcur()
H A Dwrefresh.c293 int x, cury, didshift; in _shove() local
312 cury = _virtscr->_cury; in _shove()
326 if ((curx >= x) && (cury == wy)) in _shove()
346 if (wy == cury) in _shove()