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

@@ -477,13 +477,17 @@ typedef void * lv_user_data_t;
# define LV_THEME_DEFAULT_TRANSITON_TIME 80 # define LV_THEME_DEFAULT_TRANSITON_TIME 80
#endif /*LV_USE_THEME_DEFAULT*/ #endif /*LV_USE_THEME_DEFAULT*/
/*An very simple them that is a good starting point for a custom theme*/ /*An very simple them that is a good starting point for a custom theme*/
#define LV_USE_THEME_BASIC 1 #define LV_USE_THEME_BASIC 1
/*----------- /*-----------
* Layouts * Layouts
*----------*/ *----------*/
/*A layout similar to Flexbox in CSS.*/
#define LV_USE_FLEX 1 #define LV_USE_FLEX 1
/*A layout similar to Grid in CSS.*/
#define LV_USE_GRID 1 #define LV_USE_GRID 1
/*================== /*==================

View File

@@ -882,7 +882,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
#endif #endif
/*Pixel perfect monospace fonts /*Pixel perfect monospace fonts
*http://pelulamu.net/unscii/ */ *http://pelulamu.net/unscii/*/
#ifndef LV_FONT_UNSCII_8 #ifndef LV_FONT_UNSCII_8
# ifdef CONFIG_LV_FONT_UNSCII_8 # ifdef CONFIG_LV_FONT_UNSCII_8
# define LV_FONT_UNSCII_8 CONFIG_LV_FONT_UNSCII_8 # define LV_FONT_UNSCII_8 CONFIG_LV_FONT_UNSCII_8
@@ -1425,7 +1425,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
#endif #endif
#endif /*LV_USE_THEME_DEFAULT*/ #endif /*LV_USE_THEME_DEFAULT*/
/*An very simple them that is a good starting point for a custom theme*/ /*An very simple them that is a good starting point for a custom theme*/
#ifndef LV_USE_THEME_BASIC #ifndef LV_USE_THEME_BASIC
# ifdef CONFIG_LV_USE_THEME_BASIC # ifdef CONFIG_LV_USE_THEME_BASIC
# define LV_USE_THEME_BASIC CONFIG_LV_USE_THEME_BASIC # define LV_USE_THEME_BASIC CONFIG_LV_USE_THEME_BASIC
@@ -1437,6 +1437,8 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
/*----------- /*-----------
* Layouts * Layouts
*----------*/ *----------*/
/*A layout similar to Flexbox in CSS.*/
#ifndef LV_USE_FLEX #ifndef LV_USE_FLEX
# ifdef CONFIG_LV_USE_FLEX # ifdef CONFIG_LV_USE_FLEX
# define LV_USE_FLEX 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 # define LV_USE_FLEX 1
# endif # endif
#endif #endif
/*A layout similar to Grid in CSS.*/
#ifndef LV_USE_GRID #ifndef LV_USE_GRID
# ifdef CONFIG_LV_USE_GRID # ifdef CONFIG_LV_USE_GRID
# define LV_USE_GRID CONFIG_LV_USE_GRID # define LV_USE_GRID CONFIG_LV_USE_GRID