textbox.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) textbox.c (694c49a7c01cc87194be40cb26404b58b68c291c)
1/*
2 * textbox.c -- implements the text box
3 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 115 unchanged lines hidden (view full) ---

124 for (i = 0; i < width - 2; i++)
125 waddch(dialog, ACS_HLINE);
126 wattrset(dialog, dlg.dialog.atr);
127 wbkgdset(dialog, dlg.dialog.atr & A_COLOR);
128 waddch(dialog, ACS_RTEE);
129
130 print_title(dialog, title, width);
131
1/*
2 * textbox.c -- implements the text box
3 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 115 unchanged lines hidden (view full) ---

124 for (i = 0; i < width - 2; i++)
125 waddch(dialog, ACS_HLINE);
126 wattrset(dialog, dlg.dialog.atr);
127 wbkgdset(dialog, dlg.dialog.atr & A_COLOR);
128 waddch(dialog, ACS_RTEE);
129
130 print_title(dialog, title, width);
131
132 print_button(dialog, gettext(" Exit "), height - 2, width / 2 - 4, TRUE);
132 print_button(dialog, " Exit ", height - 2, width / 2 - 4, TRUE);
133 wnoutrefresh(dialog);
134 getyx(dialog, cur_y, cur_x); /* Save cursor position */
135
136 /* Print first page of text */
137 attr_clear(box, boxh, boxw, dlg.dialog.atr);
138 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x, update_text,
139 data);
140

--- 268 unchanged lines hidden ---
133 wnoutrefresh(dialog);
134 getyx(dialog, cur_y, cur_x); /* Save cursor position */
135
136 /* Print first page of text */
137 attr_clear(box, boxh, boxw, dlg.dialog.atr);
138 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x, update_text,
139 data);
140

--- 268 unchanged lines hidden ---