delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/29/11:45:05

From: "Gwen" <mb11363 AT chello DOT be>
Subject: using colors with PDcurses
Newsgroups: comp.os.msdos.djgpp
Message-ID: <01c11845$04249180$108784d5@feta>
X-Newsreader: Microsoft Internet News 4.70.1162
Lines: 11
Date: Sun, 29 Jul 2001 15:34:23 GMT
NNTP-Posting-Host: 213.132.135.16
X-Complaints-To: abuse AT chello DOT be
X-Trace: news.chello.be 996420863 213.132.135.16 (Sun, 29 Jul 2001 17:34:23 MET DST)
NNTP-Posting-Date: Sun, 29 Jul 2001 17:34:23 MET DST
Organization: Chello Usenet Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I read curses.h, it seems we have only 8 differents colors, right ?
Is there a possibility to reach others colors with some
attributes/functions/?? 
(I'm translating a little text-based game to c++, and I need the 16
standard colors)

One last question about colors, I noticed we can use 64 differents
COLOR_PAIR()  (1->64), is that right too ?

Gwen
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019