Lines Matching refs:win
66 static void do_print_item(WINDOW * win, const char *item, int line_y, in do_print_item() argument
77 wattrset(win, dlg.menubox.atr); in do_print_item()
78 wmove(win, line_y, 0); in do_print_item()
83 waddch(win, ' '); in do_print_item()
86 wclrtoeol(win); in do_print_item()
88 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item()
89 mvwaddstr(win, line_y, item_x, menu_item); in do_print_item()
91 wattrset(win, selected ? dlg.tag_key_selected.atr in do_print_item()
93 mvwaddch(win, line_y, item_x + j, menu_item[j]); in do_print_item()
96 wmove(win, line_y, item_x + 1); in do_print_item()
99 wrefresh(win); in do_print_item()
111 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
116 getyx(win, cur_y, cur_x); in print_arrows()
118 wmove(win, y, x); in print_arrows()
121 wattrset(win, dlg.uarrow.atr); in print_arrows()
122 waddch(win, ACS_UARROW); in print_arrows()
123 waddstr(win, "(-)"); in print_arrows()
125 wattrset(win, dlg.menubox.atr); in print_arrows()
126 waddch(win, ACS_HLINE); in print_arrows()
127 waddch(win, ACS_HLINE); in print_arrows()
128 waddch(win, ACS_HLINE); in print_arrows()
129 waddch(win, ACS_HLINE); in print_arrows()
133 wmove(win, y, x); in print_arrows()
134 wrefresh(win); in print_arrows()
137 wattrset(win, dlg.darrow.atr); in print_arrows()
138 waddch(win, ACS_DARROW); in print_arrows()
139 waddstr(win, "(+)"); in print_arrows()
141 wattrset(win, dlg.menubox_border.atr); in print_arrows()
142 waddch(win, ACS_HLINE); in print_arrows()
143 waddch(win, ACS_HLINE); in print_arrows()
144 waddch(win, ACS_HLINE); in print_arrows()
145 waddch(win, ACS_HLINE); in print_arrows()
148 wmove(win, cur_y, cur_x); in print_arrows()
149 wrefresh(win); in print_arrows()
155 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
160 print_button(win, gettext("Select"), y, x, selected == 0); in print_buttons()
161 print_button(win, gettext(" Exit "), y, x + 12, selected == 1); in print_buttons()
162 print_button(win, gettext(" Help "), y, x + 24, selected == 2); in print_buttons()
163 print_button(win, gettext(" Save "), y, x + 36, selected == 3); in print_buttons()
164 print_button(win, gettext(" Load "), y, x + 48, selected == 4); in print_buttons()
166 wmove(win, y, x + 1 + 12 * selected); in print_buttons()
167 wrefresh(win); in print_buttons()
171 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
174 scrollok(win, TRUE); in do_scroll()
175 wscrl(win, n); in do_scroll()
176 scrollok(win, FALSE); in do_scroll()
178 wrefresh(win); in do_scroll()