Home
last modified time | relevance | path

Searched refs:stdscr (Results 1 – 11 of 11) sorted by relevance

/xen/tools/xenmon/
A Dxenmon.py66 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 Dyesno.c35 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 Dutil.c246 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 Dinputbox.c46 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 Dchecklist.c122 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 Dmenubox.c181 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 Dtextbox.c69 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 Dnconf.gui.c158 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 Dnconf.c369 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 Dmconf.c788 help.max_width = getmaxx(stdscr) - 10; in show_help()
/xen/tools/xenstat/xentop/
A Dxentop.c282 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