Update ebuild.syntax to include new EAPI 6 keywords
[midnight-commander.git] / lib / tty / color-slang.h
bloba1a8d55734d8101b8c87c648166633fb9af19c79
2 /** \file color-slang.h
3 * \brief Header: S-Lang-specific color setup
4 */
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)
17 #ifndef A_BOLD
18 #define A_BOLD SLTT_BOLD_MASK
19 #endif /* A_BOLD */
20 #ifdef SLTT_ITALIC_MASK /* available since slang-pre2.3.0-107 */
21 #ifndef A_ITALIC
22 #define A_ITALIC SLTT_ITALIC_MASK
23 #endif /* A_ITALIC */
24 #endif /* SLTT_ITALIC_MASK */
25 #ifndef A_UNDERLINE
26 #define A_UNDERLINE SLTT_ULINE_MASK
27 #endif /* A_UNDERLINE */
28 #ifndef A_REVERSE
29 #define A_REVERSE SLTT_REV_MASK
30 #endif /* A_REVERSE */
31 #ifndef A_BLINK
32 #define A_BLINK SLTT_BLINK_MASK
33 #endif /* A_BLINK */
35 /*** enums ***************************************************************************************/
37 enum
39 COLOR_BLACK = 0,
40 COLOR_RED,
41 COLOR_GREEN,
42 COLOR_YELLOW,
43 COLOR_BLUE,
44 COLOR_MAGENTA,
45 COLOR_CYAN,
46 COLOR_WHITE
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 */