You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
805 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __SDL_CORE_STYLE_TEMPLATE_HEADER__
  2. #define __SDL_CORE_STYLE_TEMPLATE_HEADER__
  3. #include <stdint.h>
  4. typedef struct S_sdlColorStyle{
  5. SDL_Color panelBG;
  6. SDL_Color borderTOP;
  7. SDL_Color borderBOTTOM;
  8. SDL_Color borderLEFT;
  9. SDL_Color borderRIGHT;
  10. SDL_Color borderBODY;
  11. SDL_Color body;
  12. SDL_Color font;
  13. SDL_Color disabledFont;
  14. SDL_Color activeSelector;
  15. SDL_Color passiveSelector;
  16. } sdlColorStyle;
  17. #define DEFAULT_COLOR_STYLE { \
  18. {0x20, 0x20, 0x20, 0xFF}, \
  19. {0xF0, 0xF0, 0xF0, 0xFF}, \
  20. {0xF0, 0xF0, 0xF0, 0xFF}, \
  21. {0xF0, 0xF0, 0xF0, 0xFF}, \
  22. {0xF0, 0xF0, 0xF0, 0xFF}, \
  23. {0xF0, 0xF0, 0xF0, 0xFF}, \
  24. {0x70, 0x70, 0x70, 0xFF}, \
  25. {0x0, 0x0, 0x0, 0xFF}, \
  26. {0x10, 0x10, 0x10, 0xFF}, \
  27. {0x10, 0x10, 0xF0, 0xFF}, \
  28. {0x0, 0x0, 0x20, 0xFF} \
  29. }
  30. #endif