Lines Matching refs:win_cols
100 static int win_cols, win_rows;
127 getmaxyx(stdscr, win_rows, win_cols);
129 if (win_rows < PT_MIN_ROWS || win_cols < PT_MIN_COLS) {
186 sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
189 sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0);
190 sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y,
191 win_cols/2 + 8);
194 sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
197 sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
204 sw[SW_EVENTS] = subwin(stdscr, event_lines, win_cols, pos_y, 0);
212 sw[SW_SUGG] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
215 sw[SW_STATUS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0);
290 (win_cols - strlen(TITLE))/2 + strlen(TITLE));
306 while (n && x < win_cols) {