Lines Matching defs:cols
39 set_menu_format(MENU *m, int rows, int cols)
41 if (rows < 0 || cols < 0) {
51 if (cols == 0) {
52 cols = FCols(m);
63 FCols(m) = cols;
64 Cols(m) = min(cols, Nitems(m));
65 Rows(m) = (Nitems(m)-1) / cols + 1;
75 if (cols > 0) {
76 FCols(Dfl_Menu) = cols;
83 menu_format(MENU *m, int *rows, int *cols)
87 *cols = FCols(m);
90 *cols = FCols(Dfl_Menu);