Searched refs:win_cols (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/powertop/common/ |
H A D | display.c | 104 static int win_cols, win_rows; variable 131 getmaxyx(stdscr, win_rows, win_cols); in pt_display_get_size() 133 if (win_rows < PT_MIN_ROWS || win_cols < PT_MIN_COLS) { in pt_display_get_size() 190 sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 193 sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0); in pt_display_setup() 194 sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y, in pt_display_setup() 195 win_cols/2 + 8); in pt_display_setup() 198 sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 201 sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 208 sw[SW_EVENTS] = subwin(stdscr, event_lines, win_cols, pos_y, 0); in pt_display_setup() [all …]
|