Lines Matching defs:box
3 * textbox.c -- implements the text box
133 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw,
138 print_page(box, boxh, boxw);
147 * Display text from a file in a dialog box.
157 WINDOW *dialog, *box;
195 /* center dialog box on screen */
204 /* Create window for box region, used for scrolling text */
207 box = subwin(dialog, boxh, boxw, y + 1, x + 1);
208 wattrset(box, dlg.dialog.atr);
209 wbkgdset(box, dlg.dialog.atr & A_COLOR);
211 keypad(box, TRUE);
232 attr_clear(box, boxh, boxw, dlg.dialog.atr);
233 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
251 refresh_text_box(dialog, box, boxh, boxw,
262 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
271 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
280 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
289 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
298 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
313 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
323 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
331 delwin(box);
342 delwin(box);