• Home
  • Raw
  • Download

Lines Matching refs:dialog

39 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw,  in refresh_text_box()  argument
44 print_position(dialog); in refresh_text_box()
45 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
46 wrefresh(dialog); in refresh_text_box()
62 WINDOW *dialog, *box; in dialog_textbox() local
106 dialog = newwin(height, width, y, x); in dialog_textbox()
107 keypad(dialog, TRUE); in dialog_textbox()
112 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
113 wattrset(box, dlg.dialog.atr); in dialog_textbox()
114 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
119 draw_box(dialog, 0, 0, height, width, in dialog_textbox()
120 dlg.dialog.atr, dlg.border.atr); in dialog_textbox()
122 wattrset(dialog, dlg.border.atr); in dialog_textbox()
123 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_textbox()
125 waddch(dialog, ACS_HLINE); in dialog_textbox()
126 wattrset(dialog, dlg.dialog.atr); in dialog_textbox()
127 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_textbox()
128 waddch(dialog, ACS_RTEE); in dialog_textbox()
130 print_title(dialog, title, width); in dialog_textbox()
132 print_button(dialog, gettext(" Exit "), height - 2, width / 2 - 4, TRUE); in dialog_textbox()
133 wnoutrefresh(dialog); in dialog_textbox()
134 getyx(dialog, cur_y, cur_x); /* Save cursor position */ in dialog_textbox()
137 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
138 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x, update_text, in dialog_textbox()
142 key = wgetch(dialog); in dialog_textbox()
157 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
169 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
179 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
189 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
199 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
209 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
225 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
236 refresh_text_box(dialog, box, boxh, boxw, cur_y, in dialog_textbox()
240 if (on_key_esc(dialog) == KEY_ESC) in dialog_textbox()
246 delwin(dialog); in dialog_textbox()
259 delwin(dialog); in dialog_textbox()