2 /** \file color-slang.h
3 * \brief Header: S-Lang-specific color setup
6 #ifndef MC__COLOR_SLANG_H
7 #define MC__COLOR_SLANG_H
9 #include "tty-slang.h" /* S-Lang headers */
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /* When using Slang with color, we have all the indexes free but
14 * those defined here (A_BOLD, A_ITALIC, A_UNDERLINE, A_REVERSE, A_BLINK)
18 #define A_BOLD SLTT_BOLD_MASK
20 #ifdef SLTT_ITALIC_MASK /* available since slang-pre2.3.0-107 */
22 #define A_ITALIC SLTT_ITALIC_MASK
24 #endif /* SLTT_ITALIC_MASK */
26 #define A_UNDERLINE SLTT_ULINE_MASK
27 #endif /* A_UNDERLINE */
29 #define A_REVERSE SLTT_REV_MASK
30 #endif /* A_REVERSE */
32 #define A_BLINK SLTT_BLINK_MASK
35 /*** enums ***************************************************************************************/
49 /*** structures declarations (and typedefs of structures)*****************************************/
51 /*** global variables defined in .c file *********************************************************/
53 /*** declarations of public functions ************************************************************/
55 /*** inline functions ****************************************************************************/
56 #endif /* MC_COLOR_SLANG_H */