mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
feb733663f
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
|
|
/** \file color-slang.h
|
|
* \brief Header: S-Lang-specific color setup
|
|
*/
|
|
|
|
#ifndef MC__COLOR_SLANG_H
|
|
#define MC__COLOR_SLANG_H
|
|
|
|
#include "tty-slang.h" /* S-Lang headers */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/* When using Slang with color, we have all the indexes free but
|
|
* those defined here (A_BOLD, A_UNDERLINE, A_REVERSE, A_BOLD_REVERSE)
|
|
*/
|
|
|
|
#ifndef A_BOLD
|
|
#define A_BOLD SLTT_BOLD_MASK
|
|
#endif /* A_BOLD */
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
enum
|
|
{
|
|
COLOR_BLACK = 0,
|
|
COLOR_RED,
|
|
COLOR_GREEN,
|
|
COLOR_YELLOW,
|
|
COLOR_BLUE,
|
|
COLOR_MAGENTA,
|
|
COLOR_CYAN,
|
|
COLOR_WHITE
|
|
};
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
#endif /* MC_COLOR_SLANG_H */
|