Home | History | Annotate | Download | only in lxdialog

Lines Matching refs:box

2  *  textbox.c -- implements the text box
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw,
41 print_page(box, boxh, boxw);
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box;
85 /* center dialog box on screen */
94 /* Create window for box region, used for scrolling text */
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1);
98 wattrset(box, dlg.dialog.atr);
99 wbkgdset(box, dlg.dialog.atr & A_COLOR);
101 keypad(box, TRUE);
122 attr_clear(box, boxh, boxw, dlg.dialog.atr);
123 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x);
132 delwin(box);
140 refresh_text_box(dialog, box, boxh, boxw,
151 refresh_text_box(dialog, box, boxh, boxw,
167 scrollok(box, TRUE);
168 wscrl(box, -1); /* Scroll box region down one line */
169 scrollok(box, FALSE);
175 print_line(box, 0, boxw);
176 wnoutrefresh(box);
197 refresh_text_box(dialog, box, boxh, boxw,
205 scrollok(box, TRUE);
206 scroll(box); /* Scroll box region up one line */
207 scrollok(box, FALSE);
208 print_line(box, boxh - 1, boxw);
209 wnoutrefresh(box);
221 refresh_text_box(dialog, box, boxh, boxw,
237 refresh_text_box(dialog, box, boxh, boxw,
248 refresh_text_box(dialog, box, boxh, boxw,
256 delwin(box);
262 delwin(box);