With 16 colors, the full 256 color pairs may actually be required.

This commit is contained in:
William McBrine
2006-10-11 08:07:58 +00:00
parent cd9255a90b
commit b7344fd427
2 changed files with 5 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* See the file maintain.er for details of the current maintainer. *
************************************************************************/
/* $Id: curses.h,v 1.234 2006/10/09 00:18:01 wmcbrine Exp $ */
/* $Id: curses.h,v 1.235 2006/10/11 08:07:58 wmcbrine Exp $ */
/*----------------------------------------------------------------------*
* PDCurses *
@@ -43,7 +43,7 @@ PDCurses portable platform definitions list:
**man-end****************************************************************/
#define PDC_BUILD 2816
#define PDC_BUILD 2817
#define PDCURSES 1 /* PDCurses-only routines */
#define XOPEN 1 /* X/Open Curses routines */
#define SYSVcurses 1 /* System V Curses routines */
@@ -641,9 +641,7 @@ long form:
The available attribute modifiers are bold, underline, invisible,
protect, reverse and blink. 256 (8 bits) color pairs, 8 bits for
modifiers, and 16 bits for character data. (In practice, only 64 color
pairs are available, and only the lower 8 bits of character data are
currently used.)
modifiers, and 16 bits for character data.
**man-end****************************************************************/

View File

@@ -15,7 +15,7 @@
* See the file maintain.er for details of the current maintainer. *
************************************************************************/
/* $Id: curspriv.h,v 1.125 2006/10/11 06:21:20 wmcbrine Exp $ */
/* $Id: curspriv.h,v 1.126 2006/10/11 08:07:58 wmcbrine Exp $ */
/* CURSPRIV.H
@@ -98,7 +98,7 @@ void PDC_debug(const char *, ...);
/* Internal macros for attributes */
#ifdef CHTYPE_LONG
# define PDC_COLOR_PAIRS 64
# define PDC_COLOR_PAIRS 256
# define PDC_OFFSET 32
#else
# define PDC_COLOR_PAIRS 32