Lines Matching refs:win

242 void attr_clear(WINDOW * win, int height, int width, chtype attr)  in attr_clear()  argument
246 wattrset(win, attr); in attr_clear()
248 wmove(win, i, 0); in attr_clear()
250 waddch(win, ' '); in attr_clear()
252 touchwin(win); in attr_clear()
382 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap() argument
393 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
394 waddstr(win, tempstr); in print_autowrap()
421 wmove(win, cur_y, cur_x); in print_autowrap()
422 waddstr(win, word); in print_autowrap()
423 getyx(win, cur_y, cur_x); in print_autowrap()
447 void print_button(WINDOW * win, const char *label, int y, int x, int selected) in print_button() argument
451 wmove(win, y, x); in print_button()
452 wattrset(win, selected ? dlg.button_active.atr in print_button()
454 waddstr(win, "<"); in print_button()
457 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
460 waddch(win, ' '); in print_button()
461 wattrset(win, selected ? dlg.button_key_active.atr in print_button()
463 waddch(win, label[0]); in print_button()
464 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
466 waddstr(win, (char *)label + 1); in print_button()
467 wattrset(win, selected ? dlg.button_active.atr in print_button()
469 waddstr(win, ">"); in print_button()
470 wmove(win, y, x + temp + 1); in print_button()
477 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
482 wattrset(win, 0); in draw_box()
484 wmove(win, y + i, x); in draw_box()
487 waddch(win, border | ACS_ULCORNER); in draw_box()
489 waddch(win, border | ACS_LLCORNER); in draw_box()
491 waddch(win, box | ACS_URCORNER); in draw_box()
493 waddch(win, box | ACS_LRCORNER); in draw_box()
495 waddch(win, border | ACS_HLINE); in draw_box()
497 waddch(win, box | ACS_HLINE); in draw_box()
499 waddch(win, border | ACS_VLINE); in draw_box()
501 waddch(win, box | ACS_VLINE); in draw_box()
503 waddch(win, box | ' '); in draw_box()
511 void draw_shadow(WINDOW * win, int y, int x, int height, int width) in draw_shadow() argument
516 wattrset(win, dlg.shadow.atr); in draw_shadow()
517 wmove(win, y + height, x + 2); in draw_shadow()
519 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
521 wmove(win, i, x + width); in draw_shadow()
522 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
523 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
525 wnoutrefresh(win); in draw_shadow()
560 int on_key_esc(WINDOW *win) in on_key_esc() argument
566 nodelay(win, TRUE); in on_key_esc()
567 keypad(win, FALSE); in on_key_esc()
568 key = wgetch(win); in on_key_esc()
569 key2 = wgetch(win); in on_key_esc()
571 key3 = wgetch(win); in on_key_esc()
573 nodelay(win, FALSE); in on_key_esc()
574 keypad(win, TRUE); in on_key_esc()