2025-11-15 14:10:40 +01:00

63 lines
1.1 KiB
C

/**
* @file lv_theme_domotic.h
*
*/
#ifndef LV_THEME_domotic_DOMOTIC_H
#define LV_THEME_domotic_DOMOTIC_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "lvgl.h"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Initialize the theme
* @param disp pointer to display to attach the theme
* @return a pointer to reference this theme later
*/
lv_theme_t * lv_theme_domotic_init(lv_display_t * disp);
/**
* Check if the theme is initialized
* @return true if default theme is initialized, false otherwise
*/
bool lv_theme_domotic_is_inited(void);
/**
* Get domotic theme
* @return a pointer to domotic theme, or NULL if this is not initialized
*/
lv_theme_t * lv_theme_domotic_get(void);
/**
* Deinitialize the domotic theme
*/
void lv_theme_domotic_deinit(void);
/**********************
* MACROS
**********************/
#endif
#ifdef __cplusplus
} /*extern "C"*/
#endif