Home
last modified time | relevance | path

Searched refs:_maxy (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/src/lib/libcurses/base/
Dwresize.c75 REPAIR1(_pary, _maxy); in repair_subwindows()
82 REPAIR2(_pary, _maxy); in repair_subwindows()
89 REPAIR3(_cury, _maxy); in repair_subwindows()
92 REPAIR3(_regtop, _maxy); in repair_subwindows()
93 REPAIR3(_regbottom, _maxy); in repair_subwindows()
95 for (row = 0; row <= tst->_maxy; ++row) { in repair_subwindows()
121 (long) win->_maxy, (long) win->_maxx, in wresize()
134 size_y = win->_maxy; in wresize()
146 if (win->_pary + ToLines > win->_parent->_maxy in wresize()
249 win->_maxy = (NCURSES_SIZE_T) ToLines; in wresize()
[all …]
Dlib_window.c109 assert((wp->_pary <= pp->_maxy) && in wsyncup()
110 ((wp->_pary + wp->_maxy) <= pp->_maxy)); in wsyncup()
112 for (y = 0; y <= wp->_maxy; y++) { in wsyncup()
145 assert((win->_pary <= pp->_maxy) && in wsyncdown()
146 ((win->_pary + win->_maxy) <= pp->_maxy)); in wsyncdown()
148 for (y = 0; y <= win->_maxy; y++) { in wsyncdown()
194 win->_maxy + 1, in dupwin()
198 win->_maxy + 1, in dupwin()
210 nwin->_maxy = win->_maxy; in dupwin()
247 for (i = 0; i <= nwin->_maxy; i++) { in dupwin()
Dlib_touch.c59 if (!win || (line > win->_maxy) || (line < 0)) { in NCURSES_EXPORT()
74 for (i = 0; i <= win->_maxy; i++) in is_wintouched()
88 if (!win || (n < 0) || (y < 0) || (y > win->_maxy)) in wtouchln()
92 if (i > win->_maxy) in wtouchln()
Dlib_redrawln.c72 if (end > CurScreen(sp)->_maxy + 1 - win->_begy) in NCURSES_EXPORT()
73 end = CurScreen(sp)->_maxy + 1 - win->_begy; in NCURSES_EXPORT()
74 if (end > win->_maxy + 1) in NCURSES_EXPORT()
75 end = win->_maxy + 1; in NCURSES_EXPORT()
Dlib_overlay.c64 (long) src->_maxy, in overlap()
69 (long) dst->_maxy, in overlap()
75 sy2 = sy1 + src->_maxy; in overlap()
80 dy2 = dy1 + dst->_maxy; in overlap()
164 if ((sminrow + dmaxrow - dminrow) <= (src->_maxy + 1) && in copywin()
170 if (dmaxrow <= dst->_maxy && dmaxcol <= dst->_maxx) { in copywin()
Dlib_getstr.c126 && win->_cury == win->_maxy in wgetnstr_events()
171 && oldy == win->_maxy in wgetnstr_events()
172 && win->_cury == win->_maxy) { in wgetnstr_events()
186 if (win->_cury < win->_maxy) in wgetnstr_events()
Dlib_scrreg.c54 top >= 0 && top <= win->_maxy && in NCURSES_EXPORT()
55 bottom >= 0 && bottom <= win->_maxy && in NCURSES_EXPORT()
Dlib_scroll.c68 || bottom > win->_maxy) { in NCURSES_EXPORT()
84 #define TopLimit(n) ((n) <= win->_maxy && (n) <= bottom) in NCURSES_EXPORT()
126 if (next < 0 || next > win->_maxy) { in NCURSES_EXPORT()
Dlib_clrbot.c61 (long) win->_cury, (long) win->_maxy, (long) win->_maxx)); in NCURSES_EXPORT()
63 for (y = win->_cury; y <= win->_maxy; y++) { in NCURSES_EXPORT()
Dlib_pad.c170 (long) pmaxrow, (long) win->_maxy)); in pnoutrefresh()
177 if (pmaxrow > win->_maxy) { in pnoutrefresh()
178 smaxrow -= (pmaxrow - win->_maxy); in pnoutrefresh()
228 i <= pmaxrow && m <= NewScreen(sp)->_maxy; in pnoutrefresh()
286 for (i = pmaxrow + 1; (i <= win->_maxy) in pnoutrefresh()
Dlib_clreol.c67 && y < win->_maxy) { in NCURSES_EXPORT()
76 || y > win->_maxy in NCURSES_EXPORT()
Dlib_screen.c130 DATA(_maxy, pSIZE),
538 if (tmp._maxy == 0 || in NCURSES_SP_NAME()
539 tmp._maxy > MAX_SIZE || in NCURSES_SP_NAME()
547 tmp._maxy + 1, in NCURSES_SP_NAME()
551 tmp._maxy + 1, in NCURSES_SP_NAME()
566 nwin->_maxy = tmp._maxy; in NCURSES_SP_NAME()
595 for (n = 0; n <= nwin->_maxy; n++) { in NCURSES_SP_NAME()
609 for (n = 0; n <= nwin->_maxy; n++) { in NCURSES_SP_NAME()
890 for (y = 0; y <= win->_maxy; y++) { in putwin()
930 for (y = 0; y <= win->_maxy; y++) { in putwin()
Dlib_vline.c63 if (end > win->_maxy) in NCURSES_EXPORT()
64 end = win->_maxy; in NCURSES_EXPORT()
Dlib_mvwin.c95 0, 0, 0, 0, win->_maxy, win->_maxx, 0); in NCURSES_EXPORT()
108 if (by + win->_maxy > screen_lines(SP_PARM) - 1 in NCURSES_EXPORT()
Dlib_newwin.c122 for (i = 0; i <= win->_maxy; i++) in _nc_freewin()
214 if (begy + num_lines > orig->_maxy + 1 in derwin()
219 num_lines = orig->_maxy + 1 - begy; in derwin()
303 win->_maxy = (NCURSES_SIZE_T) (num_lines - 1); in NCURSES_SP_NAME()
Dlib_insdel.c59 _nc_scroll_window(win, -n, win->_cury, win->_maxy, in NCURSES_EXPORT()
Dlib_addch.c109 if (y > win->_maxy \
115 win->_maxx, win->_maxy)); \
131 } else if (*ypos < win->_maxy) { in newline_forces_scroll()
134 } else if (*ypos < win->_maxy) { in newline_forces_scroll()
Dlib_refresh.c163 src_row <= win->_maxy && dst_row <= NewScreen(SP_PARM)->_maxy; in wnoutrefresh()
Dlib_erase.c63 for (y = 0; y <= win->_maxy; y++) { in NCURSES_EXPORT()
Dresizeterm.c90 (long) wp->win._maxy + 1, in show_window_sizes()
222 int myLines = win->_maxy + 1; in adjust_window()
Dlib_box.c110 endy = win->_maxy; in wborder()
/openbsd/src/lib/libcurses/widechar/
Dlib_get_wstr.c153 && win->_cury == win->_maxy in wgetn_wstr()
192 && oldy == win->_maxy in wgetn_wstr()
193 && win->_cury == win->_maxy) { in wgetn_wstr()
207 if (win->_cury < win->_maxy) in wgetn_wstr()
Dlib_vline_set.c60 if (end > win->_maxy) in NCURSES_EXPORT()
61 end = win->_maxy; in NCURSES_EXPORT()
Dlib_add_wch.c106 if (y > win->_maxy \
112 win->_maxx, win->_maxy)); \
Dlib_box_set.c94 endy = win->_maxy; in NCURSES_EXPORT()

12