checklist.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) checklist.c (694c49a7c01cc87194be40cb26404b58b68c291c)
1/*
2 * checklist.c -- implements the checklist box
3 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
6 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
7 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
8 *

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

98/*
99 * Display the termination buttons
100 */
101static void print_buttons(WINDOW * dialog, int height, int width, int selected)
102{
103 int x = width / 2 - 11;
104 int y = height - 2;
105
1/*
2 * checklist.c -- implements the checklist box
3 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
6 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
7 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
8 *

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

98/*
99 * Display the termination buttons
100 */
101static void print_buttons(WINDOW * dialog, int height, int width, int selected)
102{
103 int x = width / 2 - 11;
104 int y = height - 2;
105
106 print_button(dialog, gettext("Select"), y, x, selected == 0);
107 print_button(dialog, gettext(" Help "), y, x + 14, selected == 1);
106 print_button(dialog, "Select", y, x, selected == 0);
107 print_button(dialog, " Help ", y, x + 14, selected == 1);
108
109 wmove(dialog, y, x + 1 + 14 * selected);
110 wrefresh(dialog);
111}
112
113/*
114 * Display a dialog box with a list of options that can be turned on or off
115 * in the style of radiolist (only one option turned on at a time).

--- 217 unchanged lines hidden ---
108
109 wmove(dialog, y, x + 1 + 14 * selected);
110 wrefresh(dialog);
111}
112
113/*
114 * Display a dialog box with a list of options that can be turned on or off
115 * in the style of radiolist (only one option turned on at a time).

--- 217 unchanged lines hidden ---