Use new bkgd() function to produce background

This commit is contained in:
Andrey A. Chernov 1994-12-02 19:49:17 +00:00
parent 303f46f591
commit 9b50f2c60a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4904

View File

@ -113,8 +113,7 @@ void init_dialog(void)
#endif
/* Set screen to screen attribute */
attr_clear(stdscr, LINES, COLS, screen_attr);
wnoutrefresh(stdscr);
dialog_clear_norefresh();
}
/* End of init_dialog() */
@ -408,8 +407,8 @@ void draw_shadow(WINDOW *win, int y, int x, int height, int width)
void dialog_clear_norefresh(void)
{
attr_clear(stdscr, LINES, COLS, screen_attr);
touchwin(stdscr);
erase();
bkgd(screen_attr|ACS_CKBOARD);
wnoutrefresh(stdscr);
}