mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
53 lines
833 B
C
53 lines
833 B
C
/**
|
|
* @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"
|
|
|
|
#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
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL PROTOTYPES
|
|
**********************/
|
|
void lv_demo_widgets(void);
|
|
void lv_demo_widgets_start_slideshow(void);
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
#endif /*LV_USE_DEMO_WIDGETS*/
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /*LV_DEMO_WIDGETS_H*/
|