Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-23-2013, 02:02 AM   #1
Registered: Sep 2012
Posts: 58

Rep: Reputation: Disabled
Have curses draw window borders in color

Well I'm just making a tiny curses dohickey and noticed that borders for windows aren't drawn using the color I put in attron(). A google search brings up nothing but Vista help pages :/

So, how do I draw window borders in color in (N/PD)Curses?
Old 01-23-2013, 08:21 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Take a look at the manual page for curs_color(3X) (and the SEE ALSO).

Hope this helps some.
1 members found this post helpful.


cpp, ncurses

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No window borders on startup AriciU Slackware 3 07-07-2007 02:53 PM
Window borders are gone? sthprk33 Mandriva 8 02-23-2007 10:51 PM
about gnome window borders... exit3219 Linux - Newbie 2 12-04-2005 04:43 AM
About Fluxbox Window borders chutsu Slackware 2 09-05-2005 07:38 AM
how to draw color images with xlib? BBB Programming 19 07-15-2005 03:04 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration