From f3b0d01e62882bcdfe293b7f12c227dea1830b51 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 23 Oct 2006 06:09:36 +0000 Subject: [PATCH] Portability charts for attr_t functions. To Do: Complete documentation. --- pdcurses/attr.c | 21 +++++++++++++++++++-- pdcurses/slk.c | 5 ++++- pdcurses/termattr.c | 3 ++- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/pdcurses/attr.c b/pdcurses/attr.c index 4325e061..607f213d 100644 --- a/pdcurses/attr.c +++ b/pdcurses/attr.c @@ -13,7 +13,7 @@ #include -RCSID("$Id: attr.c,v 1.29 2006/10/23 05:03:30 wmcbrine Exp $"); +RCSID("$Id: attr.c,v 1.30 2006/10/23 06:09:36 wmcbrine Exp $"); /*man-start************************************************************** @@ -30,7 +30,7 @@ RCSID("$Id: attr.c,v 1.29 2006/10/23 05:03:30 wmcbrine Exp $"); int wstandend(WINDOW *win); int standout(void); int wstandout(WINDOW *win); - chtype getattrs(WINDOW *win); + int color_set(short color_pair, void *opts); int wcolor_set(WINDOW *win, short color_pair, void *opts); @@ -53,6 +53,8 @@ RCSID("$Id: attr.c,v 1.29 2006/10/23 05:03:30 wmcbrine Exp $"); int wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts); + chtype getattrs(WINDOW *win); + X/Open Description: These functions manipulate the current attributes and/or colors of the named window. These attributes can be any combination @@ -101,6 +103,21 @@ RCSID("$Id: attr.c,v 1.29 2006/10/23 05:03:30 wmcbrine Exp $"); wstandend Y Y Y standout Y Y Y wstandout Y Y Y + color_set Y + wcolor_set Y + attr_get Y + wattr_get Y + attr_on Y + wattr_on Y + attr_off Y + wattr_off Y + attr_set Y + wattr_set Y + chgat Y + wchgat Y + mvchgat Y + mvwchgat Y + getattrs - **man-end****************************************************************/ diff --git a/pdcurses/slk.c b/pdcurses/slk.c index 9e2ab138..da8fb14b 100644 --- a/pdcurses/slk.c +++ b/pdcurses/slk.c @@ -14,7 +14,7 @@ #include #include -RCSID("$Id: slk.c,v 1.32 2006/10/23 05:03:31 wmcbrine Exp $"); +RCSID("$Id: slk.c,v 1.33 2006/10/23 06:09:36 wmcbrine Exp $"); /*man-start************************************************************** @@ -78,6 +78,9 @@ RCSID("$Id: slk.c,v 1.32 2006/10/23 05:03:31 wmcbrine Exp $"); slk_attron Y - Y slk_attrset Y - Y slk_attroff Y - Y + slk_attr_on Y + slk_attr_set Y + slk_attr_off Y **man-end****************************************************************/ diff --git a/pdcurses/termattr.c b/pdcurses/termattr.c index 65e7fc84..564c7b87 100644 --- a/pdcurses/termattr.c +++ b/pdcurses/termattr.c @@ -15,7 +15,7 @@ #include #include -RCSID("$Id: termattr.c,v 1.43 2006/10/23 05:46:32 wmcbrine Exp $"); +RCSID("$Id: termattr.c,v 1.44 2006/10/23 06:09:36 wmcbrine Exp $"); /*man-start************************************************************** @@ -97,6 +97,7 @@ RCSID("$Id: termattr.c,v 1.43 2006/10/23 05:46:32 wmcbrine Exp $"); termname Y Y Y erasewchar Y killwchar Y + term_attrs Y wordchar - - - **man-end****************************************************************/