|
|
#include <curses.h>int attr_get(attr_t *attrs, short *color_pair_number, void *opts);
int attr_off(attr_t attrs, void *opts);
int attr_on(attr_t attrs, void *opts);
int attr_set(attr_t attrs, short color_pair_number, void *opts);
int color_set(short color_pair_number, void *opts);
int wattr_get(WINDOW *win, attr_t *attrs, short *color_pair_number, <br> void *opts);
int wattr_off(WINDOW *win, attr_t attrs, void *opts);
int wattr_on(WINDOW *win, attr_t attrs, void *opts);
int wattr_set(WINDOW *win, attr_t attrs, short color_pair_number, <br> void *opts);
int wcolor_set(WINDOW *win, short color_pair_number, void *opts);
The attr_get(3curses) and wattr_get(3curses) functions obtain the current rendition of a window. If attrs or color_pair_number is a null pointer, no information will be obtained on the corresponding rendition information and this is not an error.
The attr_off(3curses) and wattr_off(3curses) functions turn off attrs in the current or specified window without affecting any others.
The attr_on(3curses) and wattr_on(3curses) functions turn on attrs in the current or specified window without affecting any others.
The attr_set(3curses) and wattr_set(3curses) functions set the window rendition of the current or specified window to attrs and color_pair_number.
The color_set(3curses) and wcolor_set(3curses) functions set the window colour of the current or specified window to color_pair_number.