Lines Matching refs:dialog
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
42 print_position(dialog); in refresh_text_box()
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
44 wrefresh(dialog); in refresh_text_box()
57 WINDOW *dialog, *box; in dialog_textbox() local
91 dialog = newwin(height, width, y, x); in dialog_textbox()
92 keypad(dialog, TRUE); in dialog_textbox()
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
104 draw_box(dialog, 0, 0, height, width, in dialog_textbox()
105 dlg.dialog.atr, dlg.border.atr); in dialog_textbox()
107 wattrset(dialog, dlg.border.atr); in dialog_textbox()
108 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_textbox()
110 waddch(dialog, ACS_HLINE); in dialog_textbox()
111 wattrset(dialog, dlg.dialog.atr); in dialog_textbox()
112 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_textbox()
113 waddch(dialog, ACS_RTEE); in dialog_textbox()
115 print_title(dialog, title, width); in dialog_textbox()
117 print_button(dialog, " Exit ", height - 2, width / 2 - 4, TRUE); in dialog_textbox()
118 wnoutrefresh(dialog); in dialog_textbox()
119 getyx(dialog, cur_y, cur_x); /* Save cursor position */ in dialog_textbox()
122 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
123 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
126 key = wgetch(dialog); in dialog_textbox()
133 delwin(dialog); in dialog_textbox()
140 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
151 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
186 print_position(dialog); in dialog_textbox()
187 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in dialog_textbox()
188 wrefresh(dialog); in dialog_textbox()
197 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
210 print_position(dialog); in dialog_textbox()
211 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in dialog_textbox()
212 wrefresh(dialog); in dialog_textbox()
221 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
237 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
248 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
252 key = on_key_esc(dialog); in dialog_textbox()
257 delwin(dialog); in dialog_textbox()
263 delwin(dialog); in dialog_textbox()