src/filemanager/achown.c: cleanup.
[midnight-commander.git] / lib / tty / color-slang.h
blob86c79f05658f896ef3e9b131a88d271a565f3157
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_UNDERLINE, A_REVERSE, A_BLINK)
17 #ifndef A_BOLD
18 #define A_BOLD SLTT_BOLD_MASK
19 #endif /* A_BOLD */
20 #ifndef A_UNDERLINE
21 #define A_UNDERLINE SLTT_ULINE_MASK
22 #endif /* A_UNDERLINE */
23 #ifndef A_REVERSE
24 #define A_REVERSE SLTT_REV_MASK
25 #endif /* A_REVERSE */
26 #ifndef A_BLINK
27 #define A_BLINK SLTT_BLINK_MASK
28 #endif /* A_BLINK */
30 /*** enums ***************************************************************************************/
32 enum
34 COLOR_BLACK = 0,
35 COLOR_RED,
36 COLOR_GREEN,
37 COLOR_YELLOW,
38 COLOR_BLUE,
39 COLOR_MAGENTA,
40 COLOR_CYAN,
41 COLOR_WHITE
44 /*** structures declarations (and typedefs of structures)*****************************************/
46 /*** global variables defined in .c file *********************************************************/
48 /*** declarations of public functions ************************************************************/
50 /*** inline functions ****************************************************************************/
51 #endif /* MC_COLOR_SLANG_H */