* Print the termination buttons */
| 14 | * Print the termination buttons |
| 15 | */ |
| 16 | static void print_buttons(WINDOW * dialog, int height, int width, int selected) |
| 17 | { |
| 18 | int x = width / 2 - 11; |
| 19 | int y = height - 2; |
| 20 | |
| 21 | print_button(dialog, " Ok ", y, x, selected == 0); |
| 22 | print_button(dialog, " Help ", y, x + 14, selected == 1); |
| 23 | |
| 24 | wmove(dialog, y, x + 1 + 14 * selected); |
| 25 | wrefresh(dialog); |
| 26 | } |
| 27 | |
| 28 | /* |
| 29 | * Display a dialog box for inputing a string |
no test coverage detected