acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_theme_mono.h (1079B)

      1 /**
      2  * @file lv_theme_mono.h
      3  *
      4  */
      5 
      6 #ifndef LV_USE_THEME_MONO_H
      7 #define LV_USE_THEME_MONO_H
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13 /*********************
     14  *      INCLUDES
     15  *********************/
     16 #include "../../../core/lv_obj.h"
     17 
     18 #if LV_USE_THEME_MONO
     19 
     20 /*********************
     21  *      DEFINES
     22  *********************/
     23 
     24 /**********************
     25  *      TYPEDEFS
     26  **********************/
     27 
     28 /**********************
     29  * GLOBAL PROTOTYPES
     30  **********************/
     31 
     32 /**
     33  * Initialize the theme
     34  * @param color_primary the primary color of the theme
     35  * @param color_secondary the secondary color for the theme
     36  * @param font pointer to a font to use.
     37  * @return a pointer to reference this theme later
     38  */
     39 lv_theme_t * lv_theme_mono_init(lv_disp_t * disp, bool dark_bg, const lv_font_t * font);
     40 
     41 /**
     42 * Check if the theme is initialized
     43 * @return true if default theme is initialized, false otherwise
     44 */
     45 bool lv_theme_mono_is_inited(void);
     46 
     47 /**********************
     48  *      MACROS
     49  **********************/
     50 
     51 #endif
     52 
     53 #ifdef __cplusplus
     54 } /*extern "C"*/
     55 #endif
     56 
     57 #endif /*LV_USE_THEME_MONO_H*/