Lines Matching refs:win

211 void attr_clear(WINDOW * win, int height, int width, chtype attr)
215 wattrset(win, attr);
217 wmove(win, i, 0);
219 waddch(win, ' ');
221 touchwin(win);
351 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
362 wmove(win, y, (width - prompt_len) / 2);
363 waddstr(win, tempstr);
390 wmove(win, cur_y, cur_x);
391 waddstr(win, word);
392 getyx(win, cur_y, cur_x);
416 void print_button(WINDOW * win, const char *label, int y, int x, int selected)
420 wmove(win, y, x);
421 wattrset(win, selected ? dlg.button_active.atr
423 waddstr(win, "<");
426 wattrset(win, selected ? dlg.button_label_active.atr
429 waddch(win, ' ');
430 wattrset(win, selected ? dlg.button_key_active.atr
432 waddch(win, label[0]);
433 wattrset(win, selected ? dlg.button_label_active.atr
435 waddstr(win, (char *)label + 1);
436 wattrset(win, selected ? dlg.button_active.atr
438 waddstr(win, ">");
439 wmove(win, y, x + temp + 1);
446 draw_box(WINDOW * win, int y, int x, int height, int width,
451 wattrset(win, 0);
453 wmove(win, y + i, x);
456 waddch(win, border | ACS_ULCORNER);
458 waddch(win, border | ACS_LLCORNER);
460 waddch(win, box | ACS_URCORNER);
462 waddch(win, box | ACS_LRCORNER);
464 waddch(win, border | ACS_HLINE);
466 waddch(win, box | ACS_HLINE);
468 waddch(win, border | ACS_VLINE);
470 waddch(win, box | ACS_VLINE);
472 waddch(win, box | ' ');
480 void draw_shadow(WINDOW * win, int y, int x, int height, int width)
485 wattrset(win, dlg.shadow.atr);
486 wmove(win, y + height, x + 2);
488 waddch(win, winch(win) & A_CHARTEXT);
490 wmove(win, i, x + width);
491 waddch(win, winch(win) & A_CHARTEXT);
492 waddch(win, winch(win) & A_CHARTEXT);
494 wnoutrefresh(win);
529 int on_key_esc(WINDOW *win)
535 nodelay(win, TRUE);
536 keypad(win, FALSE);
537 key = wgetch(win);
538 key2 = wgetch(win);
540 key3 = wgetch(win);
542 nodelay(win, FALSE);
543 keypad(win, TRUE);