Searched refs:stdscr (Results 1 – 11 of 11) sorted by relevance
/xen/tools/xenmon/ |
A D | xenmon.py | 66 stdscr = None variable 280 stdscr = _c.initscr() 284 stdscr.keypad(1) 285 stdscr.timeout(1000) 286 [maxy, maxx] = stdscr.getmaxyx() 395 display(stdscr, row, col, "Gotten") 490 display(stdscr, row, 1, star) 499 display(stdscr, row, 2, 505 c = stdscr.getch() 523 stdscr.erase() [all …]
|
/xen/xen/tools/kconfig/lxdialog/ |
A D | yesno.c | 35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno() 41 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno() 42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
|
A D | util.c | 246 lines = getmaxy(stdscr); in dialog_clear() 247 columns = getmaxx(stdscr); in dialog_clear() 263 wmove(stdscr, 1, 1); in dialog_clear() 266 waddstr(stdscr, ellipsis); in dialog_clear() 272 waddch(stdscr, ACS_RARROW); in dialog_clear() 277 waddch(stdscr, ' '); in dialog_clear() 288 waddch(stdscr, ' '); in dialog_clear() 294 waddch(stdscr, ACS_HLINE); in dialog_clear() 296 wnoutrefresh(stdscr); in dialog_clear() 309 getyx(stdscr, saved_y, saved_x); in init_dialog() [all …]
|
A D | inputbox.c | 46 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 48 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) in dialog_inputbox() 52 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox() 53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
|
A D | checklist.c | 122 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist() 124 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist() 130 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist() 131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist() 133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
|
A D | menubox.c | 181 height = getmaxy(stdscr); in dialog_menu() 182 width = getmaxx(stdscr); in dialog_menu() 193 x = (getmaxx(stdscr) - width) / 2; in dialog_menu() 194 y = (getmaxy(stdscr) - height) / 2; in dialog_menu() 196 draw_shadow(stdscr, y, x, height, width); in dialog_menu()
|
A D | textbox.c | 69 getmaxyx(stdscr, height, width); in dialog_textbox() 88 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox() 89 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 91 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
|
/xen/xen/tools/kconfig/ |
A D | nconf.gui.c | 158 win = stdscr; in print_in_middle() 279 y = (getmaxy(stdscr)-(msg_lines+4))/2; in btn_dialog() 280 x = (getmaxx(stdscr)-(total_width+4))/2; in btn_dialog() 373 getmaxyx(stdscr, lines, columns); in dialog_inputbox() 567 getmaxyx(stdscr, lines, columns); in show_scroll_win()
|
A D | nconf.c | 369 int lines = getmaxy(stdscr); in print_function_line() 960 print_in_middle(stdscr, 1, 0, getmaxx(stdscr), in show_menu() 1459 getmaxyx(stdscr, lines, columns); in setup_windows() 1500 keypad(stdscr, TRUE); in main() 1503 getmaxyx(stdscr, lines, columns); in main() 1511 notimeout(stdscr, FALSE); in main()
|
A D | mconf.c | 788 help.max_width = getmaxx(stdscr) - 10; in show_help()
|
/xen/tools/xenstat/xentop/ |
A D | xentop.c | 282 getyx(stdscr, y, x); in current_row() 290 getmaxyx(stdscr, y, x); in lines() 303 vw_printw(stdscr, (curses_str_t)fmt, args); in print() 1304 keypad(stdscr, TRUE); in main()
|
Completed in 21 milliseconds