X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_attr.3x.html;h=2cad02023458a43a5156417840ecb1cd339a7700;hp=d76dd9b79d9044a3de85673518f373239d79bbe6;hb=092f1e4b79bca1d1cd3e24baa7abc3ad4cea8420;hpb=a3725e39272393790e32a083fd7391aad607828d diff --git a/doc/html/man/curs_attr.3x.html b/doc/html/man/curs_attr.3x.html index d76dd9b7..2cad0202 100644 --- a/doc/html/man/curs_attr.3x.html +++ b/doc/html/man/curs_attr.3x.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_attr.3x,v 1.40 2015/07/20 23:35:38 tom Exp @ + * @Id: curs_attr.3x,v 1.44 2015/12/13 21:54:05 tom Exp @ --> @@ -46,8 +46,7 @@ - -
+
attroff, wattroff, attron, wattron, attrset, wattrset, color_set, wcolor_set, standend, wstandend, standout, wstandout, attr_get, wattr_get, attr_off, wattr_off, @@ -56,8 +55,7 @@ window attribute control routines --
+
#include <curses.h> int attroff(int attrs); int wattroff(WINDOW *win, int attrs); @@ -90,10 +88,10 @@ short color, const void *opts); int mvwchgat(WINDOW *win, int y, int x, int n, attr_t attr, short color, const void *opts); + PAIR_NUMBER(attrs); --
+
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the window with wadd- @@ -105,8 +103,7 @@ on the screen. --
+
The routine attrset sets the current attributes of the given window to attrs. The routine attroff turns off the named attributes without turning any other attributes on @@ -122,11 +119,10 @@ used for erasing and clearing. --
+
The attrset routine is actually a legacy feature predating SVr4 curses but kept in X/Open Curses for the same reason - that SVr4 curses kept it: compatbility. The routine at- + that SVr4 curses kept it: compatibility. The routine at- tr_set provides for passing a color-pair parameter. The remaining attr_* functions operate exactly like the @@ -134,16 +130,14 @@ ments of type attr_t rather than int. --
+
The routine color_set sets the current color of the given window to the foreground/background combination described by the color_pair_number. The parameter opts is reserved for future use, applications must supply a null pointer. --
+
The routine wattr_get returns the current attribute and color pair for the given window; attr_get returns the cur- rent attribute and color pair for stdscr. @@ -153,8 +147,7 @@ curs_legacy(3x)). --
+
The routine chgat changes the attributes of a given number of characters starting at the current cursor location of stdscr. It does not update the cursor and does not per- @@ -169,12 +162,11 @@ (leave it NULL). --
+
The following video attributes, defined in <curses.h>, can be passed to the routines attron, attroff, and attrset, or - OR'd with the characters passed to addch (see curs_add- - ch(3x)). + OR'd with the characters passed to addch (see curs_add- + ch(3x)). Name Description ------------------------------------------------------------ @@ -189,8 +181,8 @@ A_INVIS Invisible or blank mode A_ALTCHARSET Alternate character set A_ITALIC Italics (non-X/Open extension) - A_CHARTEXT Bit-mask to extract a character + A_CHARTEXT Bit-mask to extract a character COLOR_PAIR(n) Color-pair number n These video attributes are supported by attr_on and relat- @@ -219,8 +211,7 @@ claims (falsely) that these routines always return 1. --
+
Note that attroff, wattroff, attron, wattron, attrset, wattrset, standend and standout may be macros. @@ -232,8 +223,7 @@ support more than 256 color pairs. --
+
These functions are supported in the XSI Curses standard, Issue 4. The standard defined the dedicated type for highlights, attr_t, which is not defined in SVr4 curses. @@ -288,8 +278,7 @@ (i.e., via the sgr1 capability). --
+
All routines return the integer OK on success, or ERR on failure. @@ -306,8 +295,7 @@ outside the window, or if the window pointer is null. --
+
curses(3x), curs_addch(3x), curs_addstr(3x), curs_bkgd(3x), curs_printw(3x), curs_variables(3x)