Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com> Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
56 lines
837 B
C
56 lines
837 B
C
/**
|
|
* @file lv_init.h
|
|
*
|
|
*/
|
|
|
|
#ifndef LV_INIT_H
|
|
#define LV_INIT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
#include "lv_conf_internal.h"
|
|
#include "misc/lv_types.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*/
|