mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-09 21:12:07 +03:00
84f502a2e1
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
35 lines
658 B
C
35 lines
658 B
C
|
|
/** \file color-slang.h
|
|
* \brief Header: S-Lang-specific color setup
|
|
*/
|
|
|
|
#ifndef MC_COLOR_SLANG_H
|
|
#define MC_COLOR_SLANG_H
|
|
|
|
#include "../../src/tty/tty-slang.h" /* S-Lang headers */
|
|
|
|
enum {
|
|
COLOR_BLACK = 0,
|
|
COLOR_RED,
|
|
COLOR_GREEN,
|
|
COLOR_YELLOW,
|
|
COLOR_BLUE,
|
|
COLOR_MAGENTA,
|
|
COLOR_CYAN,
|
|
COLOR_WHITE
|
|
};
|
|
|
|
/* When using Slang with color, we have all the indexes free but
|
|
* those defined here (A_BOLD, A_UNDERLINE, A_REVERSE, A_BOLD_REVERSE)
|
|
*/
|
|
#define A_BOLD 0x40
|
|
#define A_UNDERLINE 0x40
|
|
#define A_REVERSE 0x20
|
|
#define A_BOLD_REVERSE 0x21
|
|
|
|
#ifndef A_NORMAL
|
|
# define A_NORMAL 0x00
|
|
#endif
|
|
|
|
#endif /* MC_COLOR_SLANG_H */
|