Lines Matching full:box

2  *  textbox.c -- implements the text box
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
41 print_page(box, boxh, boxw); in refresh_text_box()
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box; in dialog_textbox() local
85 /* center dialog box on screen */ in dialog_textbox()
94 /* Create window for box region, used for scrolling text */ 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()
101 keypad(box, TRUE); 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()
132 delwin(box); 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()
167 scrollok(box, TRUE); in dialog_textbox()
168 wscrl(box, -1); /* Scroll box region down one line */ in dialog_textbox()
169 scrollok(box, FALSE); in dialog_textbox()
175 print_line(box, 0, boxw); in dialog_textbox()
176 wnoutrefresh(box); in dialog_textbox()
197 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
205 scrollok(box, TRUE); in dialog_textbox()
206 scroll(box); /* Scroll box region up one line */ in dialog_textbox()
207 scrollok(box, FALSE); in dialog_textbox()
208 print_line(box, boxh - 1, boxw); in dialog_textbox()
209 wnoutrefresh(box); 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()
256 delwin(box); in dialog_textbox()
262 delwin(box); in dialog_textbox()