color-slang.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /** \file color-slang.h
  2. * \brief Header: S-Lang-specific color setup
  3. */
  4. #ifndef MC__COLOR_SLANG_H
  5. #define MC__COLOR_SLANG_H
  6. #include "tty-slang.h" /* S-Lang headers */
  7. /*** typedefs(not structures) and defined constants **********************************************/
  8. /* When using Slang with color, we have all the indexes free but
  9. * those defined here (A_BOLD, A_UNDERLINE, A_REVERSE, A_BOLD_REVERSE)
  10. */
  11. #ifndef A_BOLD
  12. #define A_BOLD SLTT_BOLD_MASK
  13. #endif /* A_BOLD */
  14. /*** enums ***************************************************************************************/
  15. enum
  16. {
  17. COLOR_BLACK = 0,
  18. COLOR_RED,
  19. COLOR_GREEN,
  20. COLOR_YELLOW,
  21. COLOR_BLUE,
  22. COLOR_MAGENTA,
  23. COLOR_CYAN,
  24. COLOR_WHITE
  25. };
  26. /*** structures declarations (and typedefs of structures)*****************************************/
  27. /*** global variables defined in .c file *********************************************************/
  28. /*** declarations of public functions ************************************************************/
  29. /*** inline functions ****************************************************************************/
  30. #endif /* MC_COLOR_SLANG_H */