Home
last modified time | relevance | path

Searched refs:_begx (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/ucblib/libcurses/
H A Dtoucholap.c40 startx = max(win1->_begx, win2->_begx); in touchoverlap()
42 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
47 win1->_begy, win1->_begx, win1->_begy + win1->_maxy, in touchoverlap()
48 win1->_begx + win1->_maxx); in touchoverlap()
50 win2->_begy, win2->_begx, win2->_begy + win2->_maxy, in touchoverlap()
51 win2->_begx + win2->_maxx); in touchoverlap()
56 startx -= win2->_begx; in touchoverlap()
58 endx -= win2->_begx; in touchoverlap()
H A Doverwrite.c42 startx = max(win1->_begx, win2->_begx); in overwrite()
44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overwrite()
53 (void) memmove(&win2->_y[y - win2->_begy][startx - win2->_begx], in overwrite()
54 &win1->_y[y - win1->_begy][startx - win1->_begx], x); in overwrite()
55 (void) touchline(win2, y, startx - win2->_begx, in overwrite()
56 endx - win2->_begx); in overwrite()
H A Doverlay.c43 startx = max(win1->_begx, win2->_begx); in overlay()
45 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overlay()
55 end = &win1->_y[y1][endx - win1->_begx]; in overlay()
56 x = startx - win2->_begx; in overlay()
57 for (sp = &win1->_y[y1][startx - win1->_begx]; sp < end; sp++) { in overlay()
H A Drefresh.c125 lx -= win->_begx; in wrefresh()
135 win->_curx + win->_begx); in wrefresh()
137 curscr->_curx = win->_curx + win->_begx; in wrefresh()
190 domvcur(ly, lx, y, wx + win->_begx); in makech()
195 lx = wx + win->_begx; in makech()
205 clsp = ce - curscr->_y[ly] - win->_begx; in makech()
217 lx = wx + win->_begx; in makech()
256 lx = wx + win->_begx; in makech()
259 lx = win->_begx+win->_curx; in makech()
284 if (lx == wx + win->_begx) /* if no change */ in makech()
[all …]
H A Dnewwin.c109 if (by < orig->_begy || bx < orig->_begx || in subwin()
111 bx + nc > orig->_maxx + orig->_begx) in subwin()
116 nc = orig->_maxx + orig->_begx - bx; in subwin()
136 k = win->_begx - orig->_begx; in _set_subwin_()
183 win->_begx = (short)bx; in makenew()
196 fprintf(outf, "MAKENEW: win->_begx = %d\n", win->_begx); in makenew()
205 if (win->_begx + win->_maxx == COLS) { in _swflags_()
207 if (win->_begx == 0) { in _swflags_()
H A Dmvwin.c37 dx = bx - win->_begx; in mvwin()
43 win->_begx += dx; in mvwin()
50 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()
53 win->_begx = (short)bx; in mvwin()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c61 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx; in __m_copywin()
71 if (s->_begx < t->_begx) { in __m_copywin()
72 sminc = t->_begx - s->_begx; in __m_copywin()
76 tminc = s->_begx- t->_begx; in __m_copywin()
H A Dmvwin.c70 parent->_begx + parent->_maxx < bx + w->_maxx) in mvwin()
78 dx = bx - parent->_begx; in mvwin()
85 w->_begx = (short) bx; in mvwin()
104 px += parent->_begx; in mvderwin()
H A Dnewwin.c95 if (begy < parent->_begy || begx < parent->_begx || in __m_newwin()
97 parent->_maxx < (begx-parent->_begx) + ncols) in __m_newwin()
108 ncols = parent->_maxx - (begx - parent->_begx); in __m_newwin()
165 dx = begx - parent->_begx; in __m_newwin()
174 w->_begx = (short) begx; in __m_newwin()
197 w->_begy = w->_begx = 0; in __m_newwin()
274 begx += parent->_begx; in derwin()
H A Dwsyncup.c67 p->_first[py] = w->_begx + w->_first[y]; in wsyncup()
68 p->_last[py] = w->_begx + w->_last[y]; in wsyncup()
81 p->_curx = w->_begx + w->_curx; in wcursyncup()
H A Dwsyncdn.c59 w->_first[y] = p->_first[py] - w->_begx; in syncdown()
60 w->_last[y] = p->_last[py] - w->_begx; in syncdown()
H A Dwrefresh.c101 nx = w->_begx + wx; in wnoutrefresh()
161 w->_refx = w->_begx; in wnoutrefresh()
173 ns->_curx = w->_curx + w->_begx; in wnoutrefresh()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcopywin.c64 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx;
74 if (s->_begx < t->_begx) {
75 sminc = t->_begx - s->_begx;
79 tminc = s->_begx- t->_begx;
H A Dmvwin.c73 || parent->_begx + parent->_maxx < bx + w->_maxx)
80 dx = bx - parent->_begx;
87 w->_begx = bx;
112 px += parent->_begx;
H A Dnewwin.c91 if (begy < parent->_begy || begx < parent->_begx
93 || parent->_maxx < (begx-parent->_begx) + ncols)
103 ncols = parent->_maxx - (begx - parent->_begx);
160 dx = begx - parent->_begx;
169 w->_begx = (short) begx;
189 w->_begy = w->_begx = 0;
269 begx += parent->_begx;
H A Dwsyncup.c72 p->_first[py] = w->_begx + w->_first[y]; in wsyncup()
73 p->_last[py] = w->_begx + w->_last[y]; in wsyncup()
93 p->_curx = w->_begx + w->_curx; in wcursyncup()
H A Dwrefresh.c100 nx = w->_begx + wx;
155 w->_refx = w->_begx;
167 ns->_curx = w->_curx + w->_begx;
H A Dwsyncdn.c56 w->_first[y] = p->_first[py] - w->_begx; in syncdown()
57 w->_last[y] = p->_last[py] - w->_begx; in syncdown()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmouse.c117 if (win->_begy > MOUSE_Y_POS || win->_begx > MOUSE_X_POS || in wmouse_position()
119 win->_begx+win->_maxx < MOUSE_X_POS) { in wmouse_position()
122 *x = MOUSE_X_POS - win->_begx; in wmouse_position()
H A Doverlap.c62 sbx = Srcwin->_begx; dbx = Dstwin->_begx; in _overlap()
H A Dmakenew.c98 win->_begx = (short) begx; in _makenew()
133 fprintf(outf, "MAKENEW: win->_begx = %d\n", win->_begx); in _makenew()
H A Dprefresh.c155 if ((padwin->_begy == sminy) && (padwin->_begx == sminx) && in _padjust()
169 padwin->_begx = (short)sminx; in _padjust()
H A Dgetbegyx.c54 return (win->_begx); in getbegx()
H A Dsubwin.c48 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx)); in subwin()
H A Dmvwin.c56 win->_begx = (short) bx; in mvwin()

12