Use new bkgd() function to produce background
This commit is contained in:
parent
303f46f591
commit
9b50f2c60a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4904
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user