|
iPXE
|
MuCurses window attribute functions. More...
#include <curses.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| chtype | getbkgd (WINDOW *win) |
| Get the background rendition attributes for a window. More... | |
| int | wattroff (WINDOW *win, int attrs) |
| Turn off attributes in a window. More... | |
| int | wattron (WINDOW *win, int attrs) |
| Turn on attributes in a window. More... | |
| int | wattrset (WINDOW *win, int attrs) |
| Set attributes in a window. More... | |
| int | wattr_get (WINDOW *win, attr_t *attrs, short *pair, void *opts __unused) |
| Get attributes and colour pair information. More... | |
| int | wattr_off (WINDOW *win, attr_t attrs, void *opts __unused) |
| Turn off attributes in a window. More... | |
| int | wattr_on (WINDOW *win, attr_t attrs, void *opts __unused) |
| Turn on attributes in a window. More... | |
| int | wattr_set (WINDOW *win, attr_t attrs, short cpair, void *opts __unused) |
| Set attributes and colour pair information in a window. More... | |
| int | wcolour_set (WINDOW *win, short colour_pair_number, void *opts __unused) |
| Set colour pair for a window. More... | |
MuCurses window attribute functions.
Definition in file winattrs.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Get the background rendition attributes for a window.
| *win | subject window |
| ch | chtype rendition representation |
Definition at line 17 of file winattrs.c.
References _curses_window::attrs.
| int wattroff | ( | WINDOW * | win, |
| int | attrs | ||
| ) |
Turn off attributes in a window.
| win | subject window |
| attrs | attributes to enable |
| rc | return status code |
Definition at line 28 of file winattrs.c.
References _curses_window::attrs, and OK.
Referenced by attroff(), and wattr_off().
| int wattron | ( | WINDOW * | win, |
| int | attrs | ||
| ) |
Turn on attributes in a window.
| win | subject window |
| attrs | attributes to enable |
| rc | return status code |
Definition at line 40 of file winattrs.c.
References _curses_window::attrs, and OK.
Referenced by attron(), and wattr_on().
| int wattrset | ( | WINDOW * | win, |
| int | attrs | ||
| ) |
Set attributes in a window.
| win | subject window |
| attrs | attributes to enable |
| rc | return status code |
Definition at line 52 of file winattrs.c.
References A_COLOR, _curses_window::attrs, and OK.
Referenced by _enter_slk(), attrset(), bkgdset(), wattr_set(), wbkgdset(), wstandend(), and wstandout().
Get attributes and colour pair information.
| *win | window to obtain information from |
| *attrs | address in which to store attributes |
| *pair | address in which to store colour pair |
| *opts | undefined (for future implementation) |
| rc | return status cude |
Definition at line 66 of file winattrs.c.
References A_ATTRIBUTES, _curses_window::attrs, OK, and PAIR_NUMBER.
Referenced by _enter_slk().
Turn off attributes in a window.
| *win | subject window |
| attrs | attributes to toggle |
| *opts | undefined (for future implementation) |
| rc | return status code |
Definition at line 81 of file winattrs.c.
References OK, and wattroff().
Turn on attributes in a window.
| *win | subject window |
| attrs | attributes to toggle |
| *opts | undefined (for future implementation) |
| rc | return status code |
Definition at line 95 of file winattrs.c.
Set attributes and colour pair information in a window.
| *win | subject window |
| attrs | attributes to set |
| cpair | colour pair to set |
| *opts | undefined (for future implementation) |
| rc | return status code |
Definition at line 110 of file winattrs.c.
References COLOUR_PAIR, OK, and wattrset().
Referenced by _leave_slk().
Set colour pair for a window.
| *win | subject window |
| colour_pair_number | colour pair integer |
| *opts | undefined (for future implementation) |
| rc | return status code |
Definition at line 124 of file winattrs.c.
References A_ATTRIBUTES, _curses_window::attrs, COLOUR_PAIR, COLOUR_PAIRS, ERR, and OK.
1.8.15