snuk182 / goncurses

Automatically exported from code.google.com/p/goncurses
Other
0 stars 0 forks source link

SetBackground #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey, how should I use SetBackground? I tried SetBackground with a color pair, 
it expects a char, even when I cast it doesn't set the background color of the 
window. I am able to use Color Pairs everywhere else

Original issue reported on code.google.com by mgs...@gmail.com on 16 Oct 2013 at 1:39

GoogleCodeExporter commented 9 years ago
Sorry for the dealy. An example can be found in the examples/color 
sub-directory. The example shows filling the background with colored dashes but 
you can just supply a color pair too:

stdscr.SetBackground(ColorPair(2))

Original comment by rthornto...@gmail.com on 3 Nov 2013 at 11:11