Lines Matching defs:win
147 void print_in_middle(WINDOW *win,
157 if (win == NULL)
158 win = stdscr;
159 getyx(win, y, x);
170 (void) wattrset(win, color);
171 mvwprintw(win, y, x, "%s", string);
214 void fill_window(WINDOW *win, const char *text)
220 getmaxyx(win, y, x);
229 mvwprintw(win, i, 0, "%s", tmp);
250 WINDOW *win;
289 win = newwin(win_rows, total_width+4, y, x);
290 keypad(win, TRUE);
291 menu_win = derwin(win, 1, btns_width, win_rows-2,
294 msg_win = derwin(win, win_rows-2, msg_width, 1,
300 (void) wattrset(win, attributes[DIALOG_BOX]);
301 box(win, 0, 0);
307 set_menu_win(menu, win);
318 touchwin(win);
320 while ((res = wgetch(win))) {
335 touchwin(win);
353 delwin(win);
363 WINDOW *win;
403 win = newwin(win_lines, win_cols, y, x);
404 prompt_win = derwin(win, prompt_lines+1, prompt_width, 2, 2);
405 form_win = derwin(win, 1, prompt_width, prompt_lines+3, 2);
410 (void) wattrset(win, attributes[INPUT_BOX]);
411 box(win, 0, 0);
412 (void) wattrset(win, attributes[INPUT_HEADING]);
414 mvwprintw(win, 0, 3, "%s", title);
426 panel = new_panel(win);
431 touchwin(win);
516 touchwin(win);
537 delwin(win);
563 WINDOW *win;
591 win = newwin(win_lines, win_cols, y, x);
592 keypad(win, TRUE);
594 (void) wattrset(win, attributes[SCROLLWIN_BOX]);
595 box(win, 0, 0);
596 (void) wattrset(win, attributes[SCROLLWIN_HEADING]);
597 mvwprintw(win, 0, 3, " %s ", title);
598 panel = new_panel(win);
603 copywin(pad, win, start_y, start_x, 2, 2, text_lines,
605 print_in_middle(win,
611 wrefresh(win);
613 res = wgetch(win);
662 delwin(win);