Lines Matching refs:win

147 void print_in_middle(WINDOW *win,  in print_in_middle()  argument
157 if (win == NULL) in print_in_middle()
158 win = stdscr; in print_in_middle()
159 getyx(win, y, x); in print_in_middle()
170 (void) wattrset(win, color); in print_in_middle()
171 mvwprintw(win, y, x, "%s", string); in print_in_middle()
214 void fill_window(WINDOW *win, const char *text) in fill_window() argument
220 getmaxyx(win, y, x); in fill_window()
229 mvwprintw(win, i, 0, "%s", tmp); in fill_window()
250 WINDOW *win; in btn_dialog() local
289 win = newwin(win_rows, total_width+4, y, x); in btn_dialog()
290 keypad(win, TRUE); in btn_dialog()
291 menu_win = derwin(win, 1, btns_width, win_rows-2, in btn_dialog()
294 msg_win = derwin(win, win_rows-2, msg_width, 1, in btn_dialog()
300 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
301 box(win, 0, 0); in btn_dialog()
307 set_menu_win(menu, win); in btn_dialog()
318 touchwin(win); in btn_dialog()
320 while ((res = wgetch(win))) { in btn_dialog()
335 touchwin(win); in btn_dialog()
353 delwin(win); in btn_dialog()
363 WINDOW *win; in dialog_inputbox() local
396 win = newwin(prompt_lines+6, prompt_width+7, y, x); in dialog_inputbox()
397 prompt_win = derwin(win, prompt_lines+1, prompt_width, 2, 2); in dialog_inputbox()
398 form_win = derwin(win, 1, prompt_width, prompt_lines+3, 2); in dialog_inputbox()
403 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
404 box(win, 0, 0); in dialog_inputbox()
405 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
407 mvwprintw(win, 0, 3, "%s", title); in dialog_inputbox()
419 panel = new_panel(win); in dialog_inputbox()
424 touchwin(win); in dialog_inputbox()
508 touchwin(win); in dialog_inputbox()
529 delwin(win); in dialog_inputbox()
555 WINDOW *win; in show_scroll_win() local
583 win = newwin(win_lines, win_cols, y, x); in show_scroll_win()
584 keypad(win, TRUE); in show_scroll_win()
586 (void) wattrset(win, attributes[SCROLLWIN_BOX]); in show_scroll_win()
587 box(win, 0, 0); in show_scroll_win()
588 (void) wattrset(win, attributes[SCROLLWIN_HEADING]); in show_scroll_win()
589 mvwprintw(win, 0, 3, " %s ", title); in show_scroll_win()
590 panel = new_panel(win); in show_scroll_win()
595 copywin(pad, win, start_y, start_x, 2, 2, text_lines, in show_scroll_win()
597 print_in_middle(win, in show_scroll_win()
603 wrefresh(win); in show_scroll_win()
605 res = wgetch(win); in show_scroll_win()
654 delwin(win); in show_scroll_win()