Home
last modified time | relevance | path

Searched refs:getmaxy (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/usr.bin/systat/
H A Diostat.c194 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions; in numlabels()
206 if (row > getmaxy(wnd) - 1 - (linesperregion + 1)) in numlabels()
231 if (row > getmaxy(wnd) - 1 - linesperregion) in barlabels()
266 if (row > getmaxy(wnd) - linesperregion) in showiostat()
281 if (row > getmaxy(wnd) - 1 - (linesperregion + 1)) in showiostat()
H A Dpigs.c91 if (i > getmaxy(wnd)-2) in showpigs()
92 i = getmaxy(wnd)-2; in showpigs()
H A Diolat.c410 if (row > getmaxy(wnd) - 1 - (lpr + 1)) in labeliolat()
492 if (row > getmaxy(wnd) - 1 - (lpr + 1)) in showiolat()
H A Dnetstat.c87 #define YMAX(w) (getmaxy(w)-2)
/freebsd/contrib/dialog/
H A Dprogressbox.c135 (void) wmove(obj->obj.win, getmaxy(obj->text), (MARGIN + 1)); in start_obj()
138 dlg_attr_clear(obj->text, getmaxy(obj->text), getmaxx(obj->text), dialog_attr); in start_obj()
266 int want = getmaxy(obj->text) - (buttons ? 2 : 0); in reprint_lines()
433 if (i < getmaxy(obj->text)) { in dlg_progressbox()
439 print_line(obj, obj->line, getmaxy(obj->text) - 1); in dlg_progressbox()
451 int base = getmaxy(obj->text) - need; in dlg_progressbox()
H A Dfselect.c101 getmaxy(win), getmaxx(win), in init_list()
162 int high = getmaxy(list->win); in keep_visible()
228 dlg_attr_clear(list->win, getmaxy(list->win), getmaxx(list->win), item_attr); in display_list()
231 if (y >= getmaxy(list->win)) in display_list()
244 bottom = y + getmaxy(list->win); in display_list()
248 (long) (list->offset + getmaxy(list->win)), in display_list()
283 bottom = y + getmaxy(list->win); in fix_arrows()
346 int length = getmaxy(list->win); in scroll_list()
H A Deditbox.c183 int limit = getmaxy(win); in display_all()
186 dlg_attr_clear(win, getmaxy(win), getmaxx(win), dialog_attr); in display_all()
440 pagesize = getmaxy(editing); in dlg_editbox()
471 box_y + getmaxy(editing) + 1, in dlg_editbox()
H A Dformbox.c57 return (y >= scrollamt && y - scrollamt < getmaxy(win)); in in_window()
255 if (*scrollamt < lo + 1 - getmaxy(win)) in tab_next()
256 *scrollamt = lo + 1 - getmaxy(win); in tab_next()
597 getmaxy(form), in dlg_form()
H A Dtrace.c112 int rc = getmaxy(win); in dlg_trace_win()
H A Darrows.c77 && (bottom = getmaxy(win) - 1) > 0) { in dlg_draw_helpline()
H A Dbuildlist.c181 int max_rows = getmaxy(win); in print_1_list()
386 int thumb_end = thumb_top + getmaxy(win); in print_both()
399 data->box_y + getmaxy(win) + 1, in print_both()
H A Ddialog.h295 #undef getmaxy
297 #define getmaxy(win) dlg_getmaxy(win) macro
H A Dutil.c1640 int y_last = getmaxy(win) + y_base; in in_window()
1674 int ylast = getmaxy(normal) + ybase; in in_shadow()
1793 getmaxy(dw->normal), in draw_childs_shadow()
1810 getmaxy(dw->normal), in erase_childs_shadow()
2250 int height = getmaxy(win); in dlg_draw_bottom_box2()
H A Dtailbox.c181 int high = getmaxy(obj->obj.win) - (2 * MARGIN + (obj->obj.bg_task ? 1 : 3)); in print_last_page()
H A Dconfigure.in240 getmaxy \
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_window.c68 && (y + getmaxy(win) <= getmaxy(orig))) { in mvderwin()
74 for (i = 0; i < getmaxy(win); i++) in mvderwin()
H A Dlib_screen.c951 || getmaxy(result) != getmaxy(target)) { in replace_window()
953 1 + getmaxy(target), in replace_window()
H A Dresizeterm.c229 (long) getmaxy(win), (long) getmaxx(win), in adjust_window()
/freebsd/contrib/ncurses/menu/
H A Dm_post.c168 if ((item_y + j) < getmaxy(menu->win)) in MENU_EXPORT()
174 if ((cy + j) < getmaxy(menu->win)) in MENU_EXPORT()
295 int maxy = getmaxy(win); in post_menu()
H A Dm_global.c518 maxy = getmaxy(win); in _nc_Show_Menu()
/freebsd/contrib/ncurses/form/
H A Dfrm_post.c70 if ((form->cols > getmaxx(formwin)) || (form->rows > getmaxy(formwin))) in FORM_EXPORT()
/freebsd/contrib/bsddialog/lib/
H A Dlib_util.h71 #define SCREENLINES (getmaxy(stdscr))
/freebsd/contrib/ncurses/panel/
H A Dpanel.priv.h128 #define PENDY(pan) ((pan)->win->_begy + getmaxy((pan)->win) - 1)
/freebsd/contrib/ncurses/include/
H A Dcurses.h.in925 extern NCURSES_EXPORT(int) getmaxy (const WINDOW *); /* generated */
1171 #define getmaxyx(win,y,x) (y = getmaxy(win), x = getmaxx(win))
1218 #define getmaxy(win) (NCURSES_OK_ADDR(win) ? ((win)->_maxy + 1) : ERR) macro
1250 #define touchwin(win) wtouchln((win), 0, getmaxy(win), 1)
1252 #define untouchwin(win) wtouchln((win), 0, getmaxy(win), 0)
1468 #define is_linetouched(w,l) ((!(w) || ((l) > getmaxy(w)) || ((l) < 0)) ? ERR : (is_linetouched)((w)…
/freebsd/lib/ncurses/tinfo/
H A DMakefile679 curs_legacy.3 getmaxy.3 \

12