mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-25 00:05:16 +00:00
With 16 colors, the full 256 color pairs may actually be required.
This commit is contained in:
8
curses.h
8
curses.h
@@ -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****************************************************************/
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user