• 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, " Ok ", y, x, selected == 0); in print_buttons()
35 print_button(dialog, " 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()
50 WINDOW *dialog; in dialog_inputbox() local
69 dialog = newwin(height, width, y, x); in dialog_inputbox()
70 keypad(dialog, TRUE); in dialog_inputbox()
72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
73 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox()
74 wattrset(dialog, dlg.border.atr); in dialog_inputbox()
75 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
77 waddch(dialog, ACS_HLINE); in dialog_inputbox()
78 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox()
79 waddch(dialog, ACS_RTEE); in dialog_inputbox()
81 print_title(dialog, title, width); in dialog_inputbox()
83 wattrset(dialog, dlg.dialog.atr); in dialog_inputbox()
84 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_inputbox()
88 getyx(dialog, y, x); in dialog_inputbox()
91 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox()
92 dlg.border.atr, dlg.dialog.atr); in dialog_inputbox()
94 print_buttons(dialog, height, width, 0); in dialog_inputbox()
97 wmove(dialog, box_y, box_x); in dialog_inputbox()
98 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
106 waddch(dialog, instr[scroll + i]); in dialog_inputbox()
108 waddstr(dialog, instr); in dialog_inputbox()
111 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
113 wrefresh(dialog); in dialog_inputbox()
116 key = wgetch(dialog); in dialog_inputbox()
131 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
134 wmove(dialog, box_y, box_x); in dialog_inputbox()
136 waddch(dialog, in dialog_inputbox()
143 mvwaddch(dialog, box_y, input_x + box_x, ' '); in dialog_inputbox()
144 wmove(dialog, box_y, input_x + box_x); in dialog_inputbox()
145 wrefresh(dialog); in dialog_inputbox()
151 wattrset(dialog, dlg.inputbox.atr); in dialog_inputbox()
156 wmove(dialog, box_y, box_x); in dialog_inputbox()
158 waddch(dialog, instr [scroll + i]); in dialog_inputbox()
160 wmove(dialog, box_y, input_x++ + box_x); in dialog_inputbox()
161 waddch(dialog, key); in dialog_inputbox()
163 wrefresh(dialog); in dialog_inputbox()
173 delwin(dialog); in dialog_inputbox()
177 delwin(dialog); in dialog_inputbox()
184 print_buttons(dialog, height, width, 1); in dialog_inputbox()
188 print_buttons(dialog, height, width, 0); in dialog_inputbox()
189 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
190 wrefresh(dialog); in dialog_inputbox()
194 print_buttons(dialog, height, width, 0); in dialog_inputbox()
204 print_buttons(dialog, height, width, 0); in dialog_inputbox()
208 print_buttons(dialog, height, width, 1); in dialog_inputbox()
212 print_buttons(dialog, height, width, 0); in dialog_inputbox()
213 wmove(dialog, box_y, box_x + input_x); in dialog_inputbox()
214 wrefresh(dialog); in dialog_inputbox()
220 delwin(dialog); in dialog_inputbox()
227 key = on_key_esc(dialog); in dialog_inputbox()
230 delwin(dialog); in dialog_inputbox()
236 delwin(dialog); in dialog_inputbox()