Lines Matching refs:win
53 static void do_print_item(WINDOW * win, const char *item, int line_y, in do_print_item() argument
64 wattrset(win, dlg.menubox.atr); in do_print_item()
65 wmove(win, line_y, 0); in do_print_item()
70 waddch(win, ' '); in do_print_item()
73 wclrtoeol(win); in do_print_item()
75 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item()
76 mvwaddstr(win, line_y, item_x, menu_item); in do_print_item()
78 wattrset(win, selected ? dlg.tag_key_selected.atr in do_print_item()
80 mvwaddch(win, line_y, item_x + j, menu_item[j]); in do_print_item()
83 wmove(win, line_y, item_x + 1); in do_print_item()
86 wrefresh(win); in do_print_item()
98 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
103 getyx(win, cur_y, cur_x); in print_arrows()
105 wmove(win, y, x); in print_arrows()
108 wattrset(win, dlg.uarrow.atr); in print_arrows()
109 waddch(win, ACS_UARROW); in print_arrows()
110 waddstr(win, "(-)"); in print_arrows()
112 wattrset(win, dlg.menubox.atr); in print_arrows()
113 waddch(win, ACS_HLINE); in print_arrows()
114 waddch(win, ACS_HLINE); in print_arrows()
115 waddch(win, ACS_HLINE); in print_arrows()
116 waddch(win, ACS_HLINE); in print_arrows()
120 wmove(win, y, x); in print_arrows()
121 wrefresh(win); in print_arrows()
124 wattrset(win, dlg.darrow.atr); in print_arrows()
125 waddch(win, ACS_DARROW); in print_arrows()
126 waddstr(win, "(+)"); in print_arrows()
128 wattrset(win, dlg.menubox_border.atr); in print_arrows()
129 waddch(win, ACS_HLINE); in print_arrows()
130 waddch(win, ACS_HLINE); in print_arrows()
131 waddch(win, ACS_HLINE); in print_arrows()
132 waddch(win, ACS_HLINE); in print_arrows()
135 wmove(win, cur_y, cur_x); in print_arrows()
136 wrefresh(win); in print_arrows()
142 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
147 print_button(win, "Select", y, x, selected == 0); in print_buttons()
148 print_button(win, " Exit ", y, x + 12, selected == 1); in print_buttons()
149 print_button(win, " Help ", y, x + 24, selected == 2); in print_buttons()
150 print_button(win, " Save ", y, x + 36, selected == 3); in print_buttons()
151 print_button(win, " Load ", y, x + 48, selected == 4); in print_buttons()
153 wmove(win, y, x + 1 + 12 * selected); in print_buttons()
154 wrefresh(win); in print_buttons()
158 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
161 scrollok(win, TRUE); in do_scroll()
162 wscrl(win, n); in do_scroll()
163 scrollok(win, FALSE); in do_scroll()
165 wrefresh(win); in do_scroll()