Lines Matching refs:win
229 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument
233 wattrset(win, attr); in attr_clear()
235 wmove(win, i, 0); in attr_clear()
237 waddch(win, ' '); in attr_clear()
239 touchwin(win); in attr_clear()
369 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap() argument
380 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
381 waddstr(win, tempstr); in print_autowrap()
408 wmove(win, cur_y, cur_x); in print_autowrap()
409 waddstr(win, word); in print_autowrap()
410 getyx(win, cur_y, cur_x); in print_autowrap()
434 void print_button(WINDOW * win, const char *label, int y, int x, int selected) in print_button() argument
438 wmove(win, y, x); in print_button()
439 wattrset(win, selected ? dlg.button_active.atr in print_button()
441 waddstr(win, "<"); in print_button()
444 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
447 waddch(win, ' '); in print_button()
448 wattrset(win, selected ? dlg.button_key_active.atr in print_button()
450 waddch(win, label[0]); in print_button()
451 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
453 waddstr(win, (char *)label + 1); in print_button()
454 wattrset(win, selected ? dlg.button_active.atr in print_button()
456 waddstr(win, ">"); in print_button()
457 wmove(win, y, x + temp + 1); in print_button()
464 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
469 wattrset(win, 0); in draw_box()
471 wmove(win, y + i, x); in draw_box()
474 waddch(win, border | ACS_ULCORNER); in draw_box()
476 waddch(win, border | ACS_LLCORNER); in draw_box()
478 waddch(win, box | ACS_URCORNER); in draw_box()
480 waddch(win, box | ACS_LRCORNER); in draw_box()
482 waddch(win, border | ACS_HLINE); in draw_box()
484 waddch(win, box | ACS_HLINE); in draw_box()
486 waddch(win, border | ACS_VLINE); in draw_box()
488 waddch(win, box | ACS_VLINE); in draw_box()
490 waddch(win, box | ' '); in draw_box()
498 void draw_shadow(WINDOW * win, int y, int x, int height, int width) in draw_shadow() argument
503 wattrset(win, dlg.shadow.atr); in draw_shadow()
504 wmove(win, y + height, x + 2); in draw_shadow()
506 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
508 wmove(win, i, x + width); in draw_shadow()
509 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
510 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
512 wnoutrefresh(win); in draw_shadow()
547 int on_key_esc(WINDOW *win) in on_key_esc() argument
553 nodelay(win, TRUE); in on_key_esc()
554 keypad(win, FALSE); in on_key_esc()
555 key = wgetch(win); in on_key_esc()
556 key2 = wgetch(win); in on_key_esc()
558 key3 = wgetch(win); in on_key_esc()
560 nodelay(win, FALSE); in on_key_esc()
561 keypad(win, TRUE); in on_key_esc()