bug-ncurses
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
How to draw a colorful border using wborder ?
From
:
John Daker
Subject
:
How to draw a colorful border using wborder ?
Date
:
Fri, 19 Dec 2008 17:58:13 +0800
Hi all
I want to draw a border with blue background white line, and my code is:
win=newwin(15,70,15,300);
werase(win);
init_pair(1,COLOR_WHITE,COLOR_BLUE);
wattrset(win,COLOR_PAIR(1));
int x,y;
for(y=0;y<15;y++)
for(x=0;x<70;x++)
waddch(win,' ');
wborder(win,0,0,0,0,0,0,0,0);
But the border's background is black while other area is blue, How to draw a colorful border using wborder ?
Thanks
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
How to draw a colorful border using wborder ?
,
John Daker
<=
Re: How to draw a colorful border using wborder ?
,
Thomas Dickey
,
2008/12/20
Prev by Date:
Re: GPL version on ncurses?
Next by Date:
Re: How to draw a colorful border using wborder ?
Previous by thread:
GPL version on ncurses?
Next by thread:
Re: How to draw a colorful border using wborder ?
Index(es):
Date
Thread