1 /** 2 * @file lv_theme_zen.h 3 * 4 */ 5 6 #ifndef LV_THEME_ZEN_H 7 #define LV_THEME_ZEN_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #ifdef LV_CONF_INCLUDE_SIMPLE 17 #include "lv_conf.h" 18 #else 19 #include "../../lv_conf.h" 20 #endif 21 22 #if LV_USE_THEME_ZEN 23 24 /********************* 25 * DEFINES 26 *********************/ 27 28 /********************** 29 * TYPEDEFS 30 **********************/ 31 32 /********************** 33 * GLOBAL PROTOTYPES 34 **********************/ 35 36 /** 37 * Initialize the zen theme 38 * @param hue [0..360] hue value from HSV color space to define the theme's base color 39 * @param font pointer to a font (NULL to use the default) 40 * @return pointer to the initialized theme 41 */ 42 lv_theme_t * lv_theme_zen_init(uint16_t hue, lv_font_t * font); 43 44 /** 45 * Get a pointer to the theme 46 * @return pointer to the theme 47 */ 48 lv_theme_t * lv_theme_get_zen(void); 49 50 /********************** 51 * MACROS 52 **********************/ 53 54 #endif 55 56 #ifdef __cplusplus 57 } /* extern "C" */ 58 #endif 59 60 #endif /*LV_THEME_ZEN_H*/ 61