Files
lvgl/src/lv_init.h
bjsylvia 14c0869e68 chore(demos): add common entry for lv_demos (#4610)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-10 22:28:17 +02:00

58 lines
833 B
C

/**
* @file lv_init.h
*
*/
#ifndef LV_INIT_H
#define LV_INIT_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include <stdbool.h>
#include "lv_conf_internal.h"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Initialize LVGL library.
* Should be called before any other LVGL related function.
*/
void lv_init(void);
/**
* Deinit the 'lv' library
*/
void lv_deinit(void);
/**
* Returns whether the 'lv' library is currently initialized
*/
bool lv_is_initialized(void);
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /*LV_INIT_H*/