lvgl/demos/lv_demos.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

88 lines
1.4 KiB
C

/**
* @file lv_demos.h
*
*/
#ifndef LV_DEMOS_H
#define LV_DEMOS_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "../lvgl.h"
#if LV_USE_DEMO_BENCHMARK
#include "benchmark/lv_demo_benchmark.h"
#endif
#if LV_USE_DEMO_KEYPAD_AND_ENCODER
#include "keypad_encoder/lv_demo_keypad_encoder.h"
#endif
#if LV_USE_DEMO_MUSIC
#include "music/lv_demo_music.h"
#endif
#if LV_USE_DEMO_STRESS
#include "stress/lv_demo_stress.h"
#endif
#if LV_USE_DEMO_WIDGETS
#include "widgets/lv_demo_widgets.h"
#endif
#if LV_USE_DEMO_FLEX_LAYOUT
#include "flex_layout/lv_demo_flex_layout.h"
#endif
#if LV_USE_DEMO_TRANSFORM
#include "transform/lv_demo_transform.h"
#endif
#if LV_USE_DEMO_SCROLL
#include "scroll/lv_demo_scroll.h"
#endif
#if LV_USE_DEMO_MULTILANG
#include "multilang/lv_demo_multilang.h"
#endif
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**
* Call lv_demo_xxx.
* @param info the information which contains demo name and parameters
* needs by lv_demo_xxx.
* @size size of information.
*/
bool lv_demos_create(char * info[], int size);
/**
* Show help for lv_demos.
*/
void lv_demos_show_help(void);
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_DEMO_H*/