• Home
  • Raw
  • Download

Lines Matching refs:dialog

29 static void print_buttons(WINDOW * dialog, int height, int width, int selected)  in print_buttons()  argument
34 print_button(dialog, gettext(" Ok "), y, x, selected == 0); in print_buttons()
35 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1); in print_buttons()
37 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
38 wrefresh(dialog); in print_buttons()
51 WINDOW *dialog; in dialog_inputbox() local
70 dialog = newwin(height, width, y, x); in dialog_inputbox()
71 keypad(dialog, TRUE); in dialog_inputbox()
73 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
74 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
75 wattrset(dialog, dlg.border.atr); in dialog_inputbox()
76 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
78 waddch(dialog, ACS_HLINE); in dialog_inputbox()
79 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox()
80 waddch(dialog, ACS_RTEE); in dialog_inputbox()
82 print_title(dialog, title, width); in dialog_inputbox()
84 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox()
85 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_inputbox()
89 getyx(dialog, y, x); in dialog_inputbox()
92 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox()
93 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
95 print_buttons(dialog, height, width, 0); in dialog_inputbox()
98 wmove(dialog, box_y, box_x); in dialog_inputbox()
99 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
108 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
112 waddstr(dialog, instr); in dialog_inputbox()
115 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
117 wrefresh(dialog); in dialog_inputbox()
120 key = wgetch(dialog); in dialog_inputbox()
131 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
146 wmove(dialog, box_y, box_x); in dialog_inputbox()
149 waddch(dialog, ' '); in dialog_inputbox()
152 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
154 wmove(dialog, box_y, input_x + box_x); in dialog_inputbox()
155 wrefresh(dialog); in dialog_inputbox()
161 wmove(dialog, box_y, --input_x + box_x); in dialog_inputbox()
164 wmove(dialog, box_y, box_x); in dialog_inputbox()
167 waddch(dialog, ' '); in dialog_inputbox()
170 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
172 wmove(dialog, box_y, box_x); in dialog_inputbox()
180 wmove(dialog, box_y, ++input_x + box_x); in dialog_inputbox()
183 wmove(dialog, box_y, box_x); in dialog_inputbox()
186 waddch(dialog, ' '); in dialog_inputbox()
189 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
191 wmove(dialog, box_y, input_x + box_x); in dialog_inputbox()
199 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
217 wmove(dialog, box_y, box_x); in dialog_inputbox()
220 waddch(dialog, ' '); in dialog_inputbox()
223 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
225 wmove(dialog, box_y, input_x + box_x); in dialog_inputbox()
226 wrefresh(dialog); in dialog_inputbox()
236 delwin(dialog); in dialog_inputbox()
240 delwin(dialog); in dialog_inputbox()
247 print_buttons(dialog, height, width, 1); in dialog_inputbox()
251 print_buttons(dialog, height, width, 0); in dialog_inputbox()
252 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
253 wrefresh(dialog); in dialog_inputbox()
257 print_buttons(dialog, height, width, 0); in dialog_inputbox()
267 print_buttons(dialog, height, width, 0); in dialog_inputbox()
271 print_buttons(dialog, height, width, 1); in dialog_inputbox()
275 print_buttons(dialog, height, width, 0); in dialog_inputbox()
276 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
277 wrefresh(dialog); in dialog_inputbox()
283 delwin(dialog); in dialog_inputbox()
290 key = on_key_esc(dialog); in dialog_inputbox()
293 delwin(dialog); in dialog_inputbox()
299 delwin(dialog); in dialog_inputbox()