Lines Matching refs:win
148 void print_in_middle(WINDOW *win, in print_in_middle() argument
158 if (win == NULL) in print_in_middle()
159 win = stdscr; in print_in_middle()
160 getyx(win, y, x); in print_in_middle()
171 (void) wattrset(win, color); in print_in_middle()
172 mvwprintw(win, y, x, "%s", string); in print_in_middle()
215 void fill_window(WINDOW *win, const char *text) in fill_window() argument
221 getmaxyx(win, y, x); in fill_window()
230 mvwprintw(win, i, 0, "%s", tmp); in fill_window()
251 WINDOW *win; in btn_dialog() local
290 win = newwin(win_rows, total_width+4, y, x); in btn_dialog()
291 keypad(win, TRUE); in btn_dialog()
292 menu_win = derwin(win, 1, btns_width, win_rows-2, in btn_dialog()
295 msg_win = derwin(win, win_rows-2, msg_width, 1, in btn_dialog()
301 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
302 box(win, 0, 0); in btn_dialog()
308 set_menu_win(menu, win); in btn_dialog()
319 touchwin(win); in btn_dialog()
321 while ((res = wgetch(win))) { in btn_dialog()
336 touchwin(win); in btn_dialog()
354 delwin(win); in btn_dialog()
364 WINDOW *win; in dialog_inputbox() local
404 win = newwin(win_lines, win_cols, y, x); in dialog_inputbox()
405 prompt_win = derwin(win, prompt_lines+1, prompt_width, 2, 2); in dialog_inputbox()
406 form_win = derwin(win, 1, prompt_width, prompt_lines+3, 2); in dialog_inputbox()
411 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
412 box(win, 0, 0); in dialog_inputbox()
413 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
415 mvwprintw(win, 0, 3, "%s", title); in dialog_inputbox()
427 panel = new_panel(win); in dialog_inputbox()
432 touchwin(win); in dialog_inputbox()
516 touchwin(win); in dialog_inputbox()
537 delwin(win); in dialog_inputbox()
563 WINDOW *win; in show_scroll_win() local
591 win = newwin(win_lines, win_cols, y, x); in show_scroll_win()
592 keypad(win, TRUE); in show_scroll_win()
594 (void) wattrset(win, attributes[SCROLLWIN_BOX]); in show_scroll_win()
595 box(win, 0, 0); in show_scroll_win()
596 (void) wattrset(win, attributes[SCROLLWIN_HEADING]); in show_scroll_win()
597 mvwprintw(win, 0, 3, " %s ", title); in show_scroll_win()
598 panel = new_panel(win); in show_scroll_win()
603 copywin(pad, win, start_y, start_x, 2, 2, text_lines, in show_scroll_win()
605 print_in_middle(win, in show_scroll_win()
611 wrefresh(win); in show_scroll_win()
613 res = wgetch(win); in show_scroll_win()
662 delwin(win); in show_scroll_win()