开发者

Set background color of entire window in PDCurses

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜