* Set window to attribute 'attr' */
| 227 | * Set window to attribute 'attr' |
| 228 | */ |
| 229 | void attr_clear(WINDOW * win, int height, int width, chtype attr) |
| 230 | { |
| 231 | int i, j; |
| 232 | |
| 233 | wattrset(win, attr); |
| 234 | for (i = 0; i < height; i++) { |
| 235 | wmove(win, i, 0); |
| 236 | for (j = 0; j < width; j++) |
| 237 | waddch(win, ' '); |
| 238 | } |
| 239 | touchwin(win); |
| 240 | } |
| 241 | |
| 242 | void dialog_clear(void) |
| 243 | { |
no outgoing calls
no test coverage detected