MCPcopy Create free account
hub / github.com/Entware/Entware / attr_clear

Function attr_clear

scripts/config/lxdialog/util.c:229–240  ·  view source on GitHub ↗

* Set window to attribute 'attr' */

Source from the content-addressed store, hash-verified

227 * Set window to attribute 'attr'
228 */
229void 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
242void dialog_clear(void)
243{

Callers 2

dialog_textboxFunction · 0.85
dialog_clearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected