X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_attr.3x;h=4374bf27b7c896bac84cde5746630bed608dad7b;hp=3cbaf535fe13fe9de949ec63be3490d2cc611e90;hb=9e3a472c069d718e4f510e8477373618f80227ae;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/man/curs_attr.3x b/man/curs_attr.3x index 3cbaf535..4374bf27 100644 --- a/man/curs_attr.3x +++ b/man/curs_attr.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2003,2005 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2007,2009 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_attr.3x,v 1.29 2005/05/15 16:17:25 tom Exp $ +.\" $Id: curs_attr.3x,v 1.32 2009/09/19 20:12:30 tom Exp $ .TH curs_attr 3X "" .na .hy 0 @@ -159,10 +159,6 @@ window; the \fBmvwchgat\fR function does a cursor move before acting. In these functions, the color argument is a color-pair index (as in the first argument of \fIinit_pair\fR, see \fBcurs_color\fR(3X)). The \fBopts\fR argument is not presently used, but is reserved for the future (leave it \fBNULL\fR). -Note that changing the attributes does not imply -that a subsequent \fBrefresh\fR will update the screen to match, -since the character values are not modified. -Use \fBtouchwin\fR to force the screen to match the updated attributes. .SS Attributes The following video attributes, defined in \fB\fR, can be passed to the routines \fBattron\fR, \fBattroff\fR, and \fBattrset\fR, or OR'd with the @@ -223,6 +219,11 @@ XSI Curses added the new entry points, \fBattr_get\fR, \fBattr_on\fR, \fBwattr_get\fR, \fBwattr_set\fR. These are intended to work with a new series of highlight macros prefixed with \fBWA_\fR. .PP +Older versions of this library did not force an update of the screen +when changing the attributes. +Use \fBtouchwin\fR to force the screen to match the updated attributes. +.PP +.ne 9 .TS center ; l l . @@ -253,6 +254,9 @@ This implementation returns an error if the window pointer is null. The \fBwcolor_set\fP function returns an error if the color pair parameter is outside the range 0..COLOR_PAIRS-1. +This implementation also provides +\fBgetattrs\fR +for compatibility with older versions of curses. .SH SEE ALSO \fBcurses\fR(3X), \fBcurs_addch\fR(3X),