开发者

Set background color of entire window in PDCurses

开发者 https://www.devze.com 2023-03-18 10:39 出处:网络
wattron and a color pair only sets the background color of text when it is 开发者_运维问答printed inside a window. What is the best way to set the background color of the entire window without filling

wattron and a color pair only sets the background color of text when it is 开发者_运维问答printed inside a window. What is the best way to set the background color of the entire window without filling it with spaces (i.e. a title or status bar)?


A call to wbkgd with a pointer to a WINDOW object and a color pair sets the background color of the window.

0

精彩评论

暂无评论...
验证码 换一张
取 消