lv_theme_oboo.h 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /**
  2. * @file lv_theme_oboo.h
  3. *
  4. */
  5. #ifndef LV_THEME_OBOO_H
  6. #define LV_THEME_OBOO_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*********************
  11. * INCLUDES
  12. *********************/
  13. #include "../lv_conf.h"
  14. #include "config.h"
  15. #if USE_OB_THEME_OBOO
  16. /*********************
  17. * DEFINES
  18. *********************/
  19. /**********************
  20. * TYPEDEFS
  21. **********************/
  22. /**********************
  23. * GLOBAL PROTOTYPES
  24. **********************/
  25. /**
  26. * Initialize the oboo theme
  27. * @param hue [0..360] hue value from HSV color space to define the theme's base color
  28. * @param font pointer to a font (NULL to use the default)
  29. * @return pointer to the initialized theme
  30. */
  31. lv_theme_t * lv_theme_oboo_init(uint16_t hue, lv_font_t *font);
  32. /**
  33. * Get a pointer to the theme
  34. * @return pointer to the theme
  35. */
  36. lv_theme_t * lv_theme_get_oboo(void);
  37. /**********************
  38. * MACROS
  39. **********************/
  40. #endif
  41. #ifdef __cplusplus
  42. } /* extern "C" */
  43. #endif
  44. #endif /*LV_THEME_OBOO_H*/