• Home
  • Raw
  • Download

Lines Matching refs:win

239 void attr_clear(WINDOW * win, int height, int width, chtype attr)  in attr_clear()  argument
243 wattrset(win, attr); in attr_clear()
245 wmove(win, i, 0); in attr_clear()
247 waddch(win, ' '); in attr_clear()
249 touchwin(win); in attr_clear()
314 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap() argument
333 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
334 waddstr(win, tempstr); in print_autowrap()
358 wmove(win, cur_y, cur_x); in print_autowrap()
359 waddstr(win, word); in print_autowrap()
360 getyx(win, cur_y, cur_x); in print_autowrap()
376 void print_button(WINDOW * win, const char *label, int y, int x, int selected) in print_button() argument
380 wmove(win, y, x); in print_button()
381 wattrset(win, selected ? dlg.button_active.atr in print_button()
383 waddstr(win, "<"); in print_button()
386 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
389 waddch(win, ' '); in print_button()
390 wattrset(win, selected ? dlg.button_key_active.atr in print_button()
392 waddch(win, label[0]); in print_button()
393 wattrset(win, selected ? dlg.button_label_active.atr in print_button()
395 waddstr(win, (char *)label + 1); in print_button()
396 wattrset(win, selected ? dlg.button_active.atr in print_button()
398 waddstr(win, ">"); in print_button()
399 wmove(win, y, x + temp + 1); in print_button()
406 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
411 wattrset(win, 0); in draw_box()
413 wmove(win, y + i, x); in draw_box()
416 waddch(win, border | ACS_ULCORNER); in draw_box()
418 waddch(win, border | ACS_LLCORNER); in draw_box()
420 waddch(win, box | ACS_URCORNER); in draw_box()
422 waddch(win, box | ACS_LRCORNER); in draw_box()
424 waddch(win, border | ACS_HLINE); in draw_box()
426 waddch(win, box | ACS_HLINE); in draw_box()
428 waddch(win, border | ACS_VLINE); in draw_box()
430 waddch(win, box | ACS_VLINE); in draw_box()
432 waddch(win, box | ' '); in draw_box()
440 void draw_shadow(WINDOW * win, int y, int x, int height, int width) in draw_shadow() argument
445 wattrset(win, dlg.shadow.atr); in draw_shadow()
446 wmove(win, y + height, x + 2); in draw_shadow()
448 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
450 wmove(win, i, x + width); in draw_shadow()
451 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
452 waddch(win, winch(win) & A_CHARTEXT); in draw_shadow()
454 wnoutrefresh(win); in draw_shadow()
489 int on_key_esc(WINDOW *win) in on_key_esc() argument
495 nodelay(win, TRUE); in on_key_esc()
496 keypad(win, FALSE); in on_key_esc()
497 key = wgetch(win); in on_key_esc()
498 key2 = wgetch(win); in on_key_esc()
500 key3 = wgetch(win); in on_key_esc()
502 nodelay(win, FALSE); in on_key_esc()
503 keypad(win, TRUE); in on_key_esc()