chore(lv_conf_temaple.h): add comments to FLEX and GRID

This commit is contained in:
Gabor Kiss-Vamosi
2021-03-30 21:07:17 +02:00
parent a9f86c96b3
commit 66c1105ef6
2 changed files with 11 additions and 3 deletions

View File

@@ -483,7 +483,11 @@ typedef void * lv_user_data_t;
/*-----------
* Layouts
*----------*/
/*A layout similar to Flexbox in CSS.*/
#define LV_USE_FLEX 1
/*A layout similar to Grid in CSS.*/
#define LV_USE_GRID 1
/*==================

View File

@@ -1437,6 +1437,8 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
/*-----------
* Layouts
*----------*/
/*A layout similar to Flexbox in CSS.*/
#ifndef LV_USE_FLEX
# ifdef CONFIG_LV_USE_FLEX
# define LV_USE_FLEX CONFIG_LV_USE_FLEX
@@ -1444,6 +1446,8 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
# define LV_USE_FLEX 1
# endif
#endif
/*A layout similar to Grid in CSS.*/
#ifndef LV_USE_GRID
# ifdef CONFIG_LV_USE_GRID
# define LV_USE_GRID CONFIG_LV_USE_GRID