Returns the color physical attribute byte for the specified foreground and background colors
| Call | ||
| #include <vv_sys.h> | ||
| UCHAR catt_def(fg_att, bg_att) | ||
|
UCHAR fg_att |
Physical attribute to use for foreground color. |
|
| UCHAR bg_att | Physical attribute to use for background color | |
| Description of Parameters
fg_att: For PCDOS or OS/2, specify one of the following color physical attributes: WHITE, BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, or BROWN. You can modify these colors with LIGHT and/or BLINK. If you enable high intensity background colors, then you cannot use BLINK. For XENIX running on memory-mapped displays, specify the memory-mapped color physical attributes (MMWHITE, MMBLACK, MMBLUE, etc.). bg_att: For PCDOS and OS/2, specify one of the following color physical attributes: WHITE, BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, or BROWN. If you enable high intensity background colors, you can modify the background color with LIGHT. For XENIX running on memory-mapped displays, specify the memory-mapped color physical attributes (MMWHITE, MMBLACK, MMBLUE, etc.). |
||
| Returns | ||
| UCHAR | The value of the physical attribute byte for the specified color. | |
| Description
catt_def() determines the value of the attribute byte for the specified background and foreground color. |
||
| Cautions
catt_def() is a macro and does no error checking. Macros are not listed by the VCS error reporting system. This macro is only useful for PCDOS, OS/2, and memory-mapped output on SCO UNIX systems. |
||