Colors.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * ICursor.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. struct SDL_Color;
  12. /**
  13. * The colors class defines color constants of type SDL_Color.
  14. */
  15. class Colors
  16. {
  17. public:
  18. /** the h3 yellow color, typically used for headlines */
  19. static const SDL_Color YELLOW;
  20. /** the standard h3 white color */
  21. static const SDL_Color WHITE;
  22. /** the metallic gold color used mostly as a border around buttons */
  23. static const SDL_Color METALLIC_GOLD;
  24. /** green color used for in-game console */
  25. static const SDL_Color GREEN;
  26. /** the h3 orange color, used for blocked buttons */
  27. static const SDL_Color ORANGE;
  28. /** the h3 bright yellow color, used for selection border */
  29. static const SDL_Color BRIGHT_YELLOW;
  30. /** default key color for all 8 & 24 bit graphics */
  31. static const SDL_Color DEFAULT_KEY_COLOR;
  32. /// Selected creature card
  33. static const SDL_Color RED;
  34. /// Minimap border
  35. static const SDL_Color PURPLE;
  36. static const SDL_Color BLACK;
  37. static const SDL_Color TRANSPARENCY;
  38. };