mirror of
https://github.com/lvgl/lvgl.git
synced 2025-02-04 07:13:00 +08:00
52 lines
850 B
C
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
|