2021-12-17 03:49:41 +08:00
|
|
|
/**
|
|
|
|
* @file lv_demo_widgets.h
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_DEMO_WIDGETS_H
|
|
|
|
#define LV_DEMO_WIDGETS_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* INCLUDES
|
|
|
|
*********************/
|
|
|
|
#include "../lv_demos.h"
|
|
|
|
|
2024-01-12 10:41:14 +08:00
|
|
|
#if LV_USE_DEMO_WIDGETS
|
|
|
|
|
|
|
|
#if LV_USE_GRID == 0
|
|
|
|
#error "LV_USE_GRID needs to be enabled"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if LV_USE_FLEX == 0
|
|
|
|
#error "LV_USE_FLEX needs to be enabled"
|
|
|
|
#endif
|
|
|
|
|
2021-12-17 03:49:41 +08:00
|
|
|
/*********************
|
|
|
|
* DEFINES
|
|
|
|
*********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* TYPEDEFS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* GLOBAL PROTOTYPES
|
|
|
|
**********************/
|
|
|
|
void lv_demo_widgets(void);
|
2023-10-25 18:19:39 +08:00
|
|
|
void lv_demo_widgets_start_slideshow(void);
|
2021-12-17 03:49:41 +08:00
|
|
|
|
|
|
|
/**********************
|
|
|
|
* MACROS
|
|
|
|
**********************/
|
|
|
|
|
2024-01-12 10:41:14 +08:00
|
|
|
#endif /*LV_USE_DEMO_WIDGETS*/
|
|
|
|
|
2021-12-17 03:49:41 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*LV_DEMO_WIDGETS_H*/
|