* Display the termination buttons */
| 86 | * Display the termination buttons |
| 87 | */ |
| 88 | static void print_buttons(WINDOW * dialog, int height, int width, int selected) |
| 89 | { |
| 90 | int x = width / 2 - 11; |
| 91 | int y = height - 2; |
| 92 | |
| 93 | print_button(dialog, "Select", y, x, selected == 0); |
| 94 | print_button(dialog, " Help ", y, x + 14, selected == 1); |
| 95 | |
| 96 | wmove(dialog, y, x + 1 + 14 * selected); |
| 97 | wrefresh(dialog); |
| 98 | } |
| 99 | |
| 100 | /* |
| 101 | * Display a dialog box with a list of options that can be turned on or off |
no test coverage detected