1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00
lvgl/demos/flex_layout/lv_demo_flex_layout_main.c
_VIFEXTech 0ef4e6f48b
feat(demo): add flex_layout demo (#3755)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: W-Mai <1341398182@qq.com>
Co-authored-by: Uli Raich <uli.raich@gmail.com>
Co-authored-by: W-Mai <1341398182@qq.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-15 13:34:13 +01:00

52 lines
850 B
C

/**
* @file lv_demo_flex_layout_main.c
*
*/
/*********************
* INCLUDES
*********************/
#include "lv_demo_flex_layout_main.h"
#include "lv_demo_flex_layout.h"
#if LV_USE_DEMO_FLEX_LAYOUT && LV_USE_USER_DATA
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* STATIC PROTOTYPES
**********************/
/**********************
* STATIC VARIABLES
**********************/
static view_t view;
/**********************
* MACROS
**********************/
/**********************
* GLOBAL FUNCTIONS
**********************/
void lv_demo_flex_layout(void)
{
view_create(lv_scr_act(), &view);
ctrl_pad_attach(&view);
}
/**********************
* STATIC FUNCTIONS
**********************/
#endif