X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_color.3x.html;h=9cf3791793c61a09817f73d332d3461949a74655;hp=8d0f00c6368ac4e1f5e80c8b0314d466bee0ddf1;hb=56f1e8cd80dfb926f74e1739bf969489b0cfa56f;hpb=db5f7f4f146a91ba8ec7f1df8e9d7f9d2d7c74fd diff --git a/doc/html/man/curs_color.3x.html b/doc/html/man/curs_color.3x.html index 8d0f00c6..9cf37917 100644 --- a/doc/html/man/curs_color.3x.html +++ b/doc/html/man/curs_color.3x.html @@ -26,7 +26,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_color.3x,v 1.39 2015/06/06 23:29:02 tom Exp @ + * @Id: curs_color.3x,v 1.40 2015/12/05 20:09:42 tom Exp @ --> @@ -45,15 +45,13 @@ - -

NAME

+

NAME

        start_color, init_pair, init_color, has_colors,
        can_change_color, color_content, pair_content, COLOR_PAIR
        - curses color manipulation routines
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        # include <curses.h>
 
        int start_color(void);
@@ -64,13 +62,12 @@
        int  color_content(short  color, short *r, short *g, short
        *b);
        int pair_content(short pair, short *f, short *b);
+       int COLOR_PAIR(int n);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

 
-
-

Overview

+

Overview

        curses supports color attributes on  terminals  with  that
        capability.   To  use  these  routines start_color must be
        called, usually right after initscr.   Colors  are  always
@@ -94,8 +91,7 @@
        how a given color-pair is currently defined.
 
 
-
-

Color Rendering

+

Color Rendering

        The curses library combines these inputs  to  produce  the
        actual  foreground  and  background  colors  shown  on the
        screen:
@@ -140,8 +136,7 @@
        background character.
 
 
-
-

Routine Descriptions

+

Routine Descriptions

        The start_color routine requires no arguments.  It must be
        called if the programmer wants to use colors,  and  before
        any  other  color  manipulation  routine is called.  It is
@@ -274,8 +269,7 @@
        through COLORS, inclusive.
 
 
-
-

Colors

+

Colors

        In <curses.h> the following macros are defined.  These are
        the  standard colors (ISO-6429).  curses also assumes that
        COLOR_BLACK is the default background color for all termi-
@@ -291,8 +285,7 @@
              COLOR_WHITE
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        The  routines  can_change_color()  and has_colors() return
        TRUE or FALSE.
 
@@ -320,8 +313,7 @@
                located.
 
 
-
-

NOTES

+

NOTES

        In  the  ncurses implementation, there is a separate color
        activation flag, color palette, color pairs table, and as-
        sociated  COLORS  and  COLOR_PAIRS counts for each screen;
@@ -352,8 +344,7 @@
        o   Color RGB values are not settable.
 
 
-
-

PORTABILITY

+

PORTABILITY

        This implementation satisfies XSI Curses's  minimum  maxi-
        mums for COLORS and COLOR_PAIRS.
 
@@ -371,8 +362,7 @@
        will treat those as optional parameters when null.
 
 
-
-

SEE ALSO

+

SEE ALSO

        curses(3x),  curs_initscr(3x),  curs_attr(3x),  curs_vari-
        ables(3x), default_colors(3x)