Home
last modified time | relevance | path

Searched refs:curscr (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/ucblib/libcurses/
H A Drefresh.c66 ly = curscr->_cury; in wrefresh()
67 lx = curscr->_curx; in wrefresh()
69 curwin = (win == curscr); in wrefresh()
78 curscr->_cury = 0; in wrefresh()
79 curscr->_curx = 0; in wrefresh()
80 (void) werase(curscr); in wrefresh()
90 (void) werase(curscr); in wrefresh()
120 if (win == curscr) in wrefresh()
124 curscr->_cury = ly; in wrefresh()
125 curscr->_curx = lx; in wrefresh()
[all …]
H A Dinitscr.c57 if (curscr != NULL) { in initscr()
59 fprintf(outf, "INITSCR: curscr = 0%o\n", curscr); in initscr()
61 (void) delwin(curscr); in initscr()
66 if ((curscr = newwin(LINES, COLS, 0, 0)) == ERR) in initscr()
68 clearok(curscr, TRUE); in initscr()
69 curscr->_flags &= ~_FULLLINE; in initscr()
H A Dendwin.c39 if (curscr) { in endwin()
40 if (curscr->_flags & _STANDOUT) { in endwin()
42 curscr->_flags &= ~_STANDOUT; in endwin()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dquick_echo.c62 if ((curscr->_flags & _CANT_BE_IMMED) || in _quick_echo()
64 (win->_clear) || (curscr->_clear) || in _quick_echo()
76 if ((SPy != curscr->_cury) || (SPx != curscr->_curx)) { in _quick_echo()
77 (void) mvcur(curscr->_cury, curscr->_curx, SPy, SPx); in _quick_echo()
78 curscr->_cury = SPy; in _quick_echo()
80 curscr->_curx = SPx + 1; in _quick_echo()
88 _virtscr->_y[SPy][SPx] = curscr->_y[SPy][SPx] = ch; in _quick_echo()
90 if (rawattrs != curscr->_attrs) in _quick_echo()
91 _VIDS(rawattrs, curscr->_attrs); in _quick_echo()
H A Dwrefresh.c110 cy = curscr->_cury; in wrefresh()
111 cx = curscr->_curx; in wrefresh()
116 scrli = curscr->_maxy; in wrefresh()
117 scrco = curscr->_maxx; in wrefresh()
165 cy = cx = curscr->_curx = curscr->_cury = 0; in wrefresh()
168 if (!curscr->_sync) in wrefresh()
186 _virtscr->_clear = curscr->_sync = curscr->_clear = FALSE; in wrefresh()
238 curscr->_cury = cy; in wrefresh()
239 curscr->_curx = cx; in wrefresh()
280 curscr->_cury = cy; in wrefresh()
[all …]
H A Dscr_reset.c127 (win->_maxy != curscr->_maxy) || (win->_maxx != curscr->_maxx) || in scr_reset()
258 curscr->_clear = TRUE; in scr_reset()
281 _VIRTBOT = curscr->_maxy - 1; in scr_reset()
285 _VIRTTOP = curscr->_maxy; in scr_reset()
288 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
295 (void) delwin(curscr); in scr_reset()
296 SP->cur_scr = curscr = win; in scr_reset()
297 curscr->_sync = TRUE; in scr_reset()
298 curscr->_flags |= saveflag; in scr_reset()
304 for (y = curscr->_maxy; y > 0; --y) in scr_reset()
[all …]
H A Dendwin.c116 (void) mvcur(curscr->_cury, curscr->_curx, curscr->_maxy - 1, 0); in endwin()
124 curscr->_attrs &= ~A_COLOR; /* SS: colors */ in endwin()
126 if ((curscr->_attrs != A_NORMAL) && in endwin()
128 _VIDS(A_NORMAL, curscr->_attrs); in endwin()
139 curscr->_clear = TRUE; in endwin()
H A Dmvcur.c105 _VIDS(A_NORMAL, curscr->_attrs); in mvcur()
119 cury >= 0 && cury < curscr->_maxy && in mvcur()
120 curx >= 0 && curx < curscr->_maxx) { in mvcur()
147 curx >= 0 && curx < curscr->_maxx) in mvcur()
176 curscr->_curx = (short) newx; in mvcur()
178 curscr->_cury = (short) newy; in mvcur()
198 cy = curscr->_maxy - 1; in _homefirst()
327 scp = curscr->_y[Newy]; in _mvright()
342 _ATTR(scp[x]) == curscr->_attrs) || in _mvright()
347 curscr->_maxx && ISCBIT(scp[nx]))) in _mvright()
[all …]
H A Dtstp.c60 curscr->_attrs = A_ATTRIBUTES; in _tstp()
67 curscr->_clear = TRUE; in _tstp()
68 (void) wrefresh(curscr); in _tstp()
83 curscr->_attrs = A_ATTRIBUTES; in _ccleanup()
H A Didlok.c120 cy = curscr->_cury; in _use_idln()
121 cx = curscr->_curx; in _use_idln()
173 curscr->_tmarg = (short)tsy; in _use_idln()
174 curscr->_bmarg = bsy - 1; in _use_idln()
176 curscr->_cury = (short)tsy; in _use_idln()
177 (void) winsdelln(curscr, dir > 0 ? -idn : idn); in _use_idln()
178 curscr->_tmarg = 0; in _use_idln()
179 curscr->_bmarg = scrli - 1; in _use_idln()
196 curscr->_cury = (short)cy; in _use_idln()
198 curscr->_curx = (short)cx; in _use_idln()
H A Dnewscreen.c81 WINDOW *old_curscr = curscr; in newscreen()
205 if ((curscr = SP->cur_scr = newwin(LINES, COLS, 0, 0)) == NULL) in newscreen()
212 curscr->_sync = TRUE; in newscreen()
221 curscr->_flags |= _CANT_BE_IMMED; in newscreen()
264 curscr = old_curscr; in newscreen()
281 SP, SP->std_scr, curscr); in newscreen()
H A Dinit_pair.c78 short lin = curscr->_maxy; in init_pair()
79 chtype **y = curscr->_y; in init_pair()
101 curscr->_attrs &= ~A_COLOR; in init_pair()
H A Dwclrtobot.c55 if (win != curscr) { in wclrtobot()
73 if (win == curscr) in wclrtobot()
H A Dwinsdelln.c138 if ((win == curscr) && _MARKS != NULL) { in winsdelln()
163 if (win == curscr) { in winsdelln()
211 return ((win != curscr && savimmed) ? wrefresh(win) : OK); in winsdelln()
H A Dwnoutref.c65 scrli = curscr->_maxy; in wnoutrefresh()
66 scrco = curscr->_maxx; in wnoutrefresh()
117 if (curscr->_sync) { in wnoutrefresh()
H A Dcurshdr.h59 #define _VIDS(na, oa) (vidupdate((na), (oa), _outch), curscr->_attrs = (na))
226 #define _BEGNS curscr->_firstch
227 #define _ENDNS curscr->_lastch
H A Dwclrtoeol.c59 if (win != curscr) { in wclrtoeol()
88 if (win == curscr) { in wclrtoeol()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c71 #define GOTO(r,c) (__m_mvcur(curscr->_cury, curscr->_curx,r,c,__m_outc),\
72 curscr->_cury = r, curscr->_curx = c)
168 (void) __m_cc_erase(curscr, i, 0, i, curscr->_maxx-1);
203 curscr->_cury = y;
204 curscr->_curx = 0;
436 --curscr->_curx;
442 ++curscr->_cury;
577 (void) __m_cc_erase(curscr, start, 0, finish, curscr->_maxx-1);
579 (void **) curscr->_line, curscr->_maxy, start, finish, to
622 (void) __m_cc_erase(curscr, start, 0, finish, curscr->_maxx-1);
[all …]
H A Dendwin.c76 curscr->_line[curscr->_maxx-1][0]._at in endwin()
H A Dscr_dump.c64 code = putwin(curscr, fp);
101 if (w == curscr)
H A Dnewterm.c54 WINDOW *curscr; variable
113 (void) wrefresh(curscr);
437 curscr = screen->_curscr;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c69 #define GOTO(r, c) ((void) __m_mvcur(curscr->_cury, curscr->_curx,\
70 r, c, __m_outc), curscr->_cury = r, curscr->_curx = c)
173 (void) __m_cc_erase(curscr, i, 0, i, curscr->_maxx - 1); in erase_bottom()
205 curscr->_cury = y; in clear_bottom()
206 curscr->_curx = 0; in clear_bottom()
595 if (COLS <= curscr->_curx) { in text_replace()
596 --curscr->_curx; in text_replace()
602 ++curscr->_cury; in text_replace()
603 curscr->_curx = 0; in text_replace()
727 (void) __m_cc_erase(curscr, start, 0, finish, curscr->_maxx-1); in scroll_up()
[all …]
H A Dscr_dump.c64 code = putwin(curscr, fp); in scr_dump()
100 if (w == curscr) in scr_replace()
110 (void) __m_mvcur(-1, -1, curscr->_cury, curscr->_curx, __m_outc); in scr_replace()
H A Dendwin.c78 curscr->_line[curscr->_maxx-1][0]._at in endwin()
H A Dnewterm.c60 WINDOW *curscr; variable
117 (void) wrefresh(curscr); in tstp()
443 curscr = screen->_curscr; in set_term()

12