1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00
lvgl/demos/flex_layout/lv_demo_flex_layout_main.c

52 lines
833 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
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* STATIC PROTOTYPES
**********************/
/**********************
* STATIC VARIABLES
**********************/
static view_t view;
/**********************
* MACROS
**********************/
/**********************
* GLOBAL FUNCTIONS
**********************/
void lv_demo_flex_layout(void)
{
view_create(lv_screen_active(), &view);
ctrl_pad_attach(&view);
}
/**********************
* STATIC FUNCTIONS
**********************/
#endif