color-slang.h 562 B

123456789101112131415161718192021222324252627282930
  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. enum {
  8. COLOR_BLACK = 0,
  9. COLOR_RED,
  10. COLOR_GREEN,
  11. COLOR_YELLOW,
  12. COLOR_BLUE,
  13. COLOR_MAGENTA,
  14. COLOR_CYAN,
  15. COLOR_WHITE
  16. };
  17. /* When using Slang with color, we have all the indexes free but
  18. * those defined here (A_BOLD, A_UNDERLINE, A_REVERSE, A_BOLD_REVERSE)
  19. */
  20. #ifndef A_BOLD
  21. #define A_BOLD SLTT_BOLD_MASK
  22. #endif /* A_BOLD */
  23. #endif /* MC_COLOR_SLANG_H */