Lines Matching refs:rows
62 set_menu_format(MENU *menu, int rows, int cols) in MENU_EXPORT()
65 T((T_CALLED("set_menu_format(%p,%d,%d)"), (void *)menu, rows, cols)); in MENU_EXPORT()
67 if (rows < 0 || cols < 0) in MENU_EXPORT()
80 if (rows == 0) in MENU_EXPORT()
81 rows = menu->frows; in MENU_EXPORT()
88 menu->frows = (short)rows; in MENU_EXPORT()
91 assert(rows > 0 && cols > 0); in MENU_EXPORT()
97 menu->rows = (short)total_rows; in MENU_EXPORT()
99 menu->arows = (short)minimum(total_rows, rows); in MENU_EXPORT()
108 if (rows > 0) in MENU_EXPORT()
109 _nc_Default_Menu.frows = (short)rows; in MENU_EXPORT()
127 menu_format(const MENU *menu, int *rows, int *cols) in menu_format() argument
129 if (rows) in menu_format()
130 *rows = Normalize_Menu(menu)->frows; in menu_format()