Lines Matching refs:dialog
133 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
139 print_position(dialog); in refresh_text_box()
140 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
141 wrefresh(dialog); in refresh_text_box()
157 WINDOW *dialog, *box; in dialog_textbox() local
201 dialog = newwin(height, width, y, x); in dialog_textbox()
202 keypad(dialog, TRUE); in dialog_textbox()
207 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
208 wattrset(box, dlg.dialog.atr); in dialog_textbox()
209 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
214 draw_box(dialog, 0, 0, height, width, in dialog_textbox()
215 dlg.dialog.atr, dlg.border.atr); in dialog_textbox()
217 wattrset(dialog, dlg.border.atr); in dialog_textbox()
218 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_textbox()
220 waddch(dialog, ACS_HLINE); in dialog_textbox()
221 wattrset(dialog, dlg.dialog.atr); in dialog_textbox()
222 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_textbox()
223 waddch(dialog, ACS_RTEE); in dialog_textbox()
225 print_title(dialog, title, width); in dialog_textbox()
227 print_button(dialog, " Exit ", height - 2, width / 2 - 4, TRUE); in dialog_textbox()
228 wnoutrefresh(dialog); in dialog_textbox()
229 getyx(dialog, cur_y, cur_x); /* Save cursor position */ in dialog_textbox()
232 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
233 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
236 key = wgetch(dialog); in dialog_textbox()
251 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
262 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
271 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
280 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
289 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
298 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
313 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
323 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
326 if (on_key_esc(dialog) == KEY_ESC) in dialog_textbox()
332 delwin(dialog); in dialog_textbox()
343 delwin(dialog); in dialog_textbox()