chore(lvgl): add the new lv_layouts.h header file (#3927)

This commit is contained in:
Karim 2023-01-16 09:28:44 +01:00 committed by GitHub
parent 9fe6ce9bae
commit abdaa4c6af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 2 deletions

4
lvgl.h
View File

@ -95,8 +95,8 @@ extern "C" {
#include "src/libs/rlottie/lv_rlottie.h"
#include "src/libs/ffmpeg/lv_ffmpeg.h"
#include "src/libs/tiny_ttf/lv_tiny_ttf.h"
#include "src/layouts/flex/lv_flex.h"
#include "src/layouts/grid/lv_grid.h"
#include "src/layouts/lv_layouts.h"
#include "src/draw/lv_draw.h"

43
src/layouts/lv_layouts.h Normal file
View File

@ -0,0 +1,43 @@
/**
* @file lv_layouts.h
*
*/
#ifndef LV_LAYOUTS_H
#define LV_LAYOUTS_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#if LV_USE_FLEX
#include "flex/lv_flex.h"
#endif /* LV_USE_FLEX */
#if LV_USE_GRID
#include "grid/lv_grid.h"
#endif /* LV_USE_GRID */
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /*LV_LAYOUTS_H*/