LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-03-2014, 09:34 AM   #1
XDimensioN
Member
 
Registered: Dec 2013
Posts: 34

Rep: Reputation: Disabled
Ncurses: add a shadow to a window


Hi

I am a newbie of NCurses. I started with C exmaple from internet of how displaying aindow. I wanted then to add a black shadow to the window, I searh in the intrnet but I did not found any relevant informations.

Any idea ?
Thanks in advance
 
Old 10-04-2014, 11:36 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Look into the COLOR_PAIR attribute as an argument to attron.
http://linux.die.net/man/3/attron
 
  


Reply



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
[ncurses] How to duplicate a window and how to handle 'x window' resize? logme64 Programming 1 10-24-2011 10:43 PM
[SOLVED] NCurses / Hello World in a window??? DennisC31 Programming 2 09-08-2010 07:54 AM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 09:15 AM
scrolling window in ncurses mayank_linux Programming 1 10-19-2006 06:03 PM
ncurses window and keypad vegpl Programming 2 11-01-2004 02:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:33 AM.

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