chore: code formatting
This commit is contained in:
@@ -422,7 +422,7 @@ uint8_t _lv_style_prop_lookup_flags(lv_style_prop_t prop)
|
|||||||
{
|
{
|
||||||
extern const uint8_t _lv_style_builtin_prop_flag_lookup_table[];
|
extern const uint8_t _lv_style_builtin_prop_flag_lookup_table[];
|
||||||
extern uint32_t _lv_style_custom_prop_flag_lookup_table_size;
|
extern uint32_t _lv_style_custom_prop_flag_lookup_table_size;
|
||||||
if(prop == LV_STYLE_PROP_ANY) return LV_STYLE_PROP_ALL; /*Any prop can have any flags*/
|
if(prop == LV_STYLE_PROP_ANY) return LV_STYLE_PROP_ALL; /*Any prop can have any flags*/
|
||||||
if(prop == LV_STYLE_PROP_INV) return 0;
|
if(prop == LV_STYLE_PROP_INV) return 0;
|
||||||
|
|
||||||
if(prop < _LV_STYLE_NUM_BUILT_IN_PROPS)
|
if(prop < _LV_STYLE_NUM_BUILT_IN_PROPS)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ extern "C" {
|
|||||||
#define LV_STYLE_PROP_EXT_DRAW (1 << 1) /*Requires ext. draw size update when changed*/
|
#define LV_STYLE_PROP_EXT_DRAW (1 << 1) /*Requires ext. draw size update when changed*/
|
||||||
#define LV_STYLE_PROP_LAYOUT_REFR (1 << 2) /*Requires layout update when changed*/
|
#define LV_STYLE_PROP_LAYOUT_REFR (1 << 2) /*Requires layout update when changed*/
|
||||||
#define LV_STYLE_PROP_PARENT_LAYOUT_REFR (1 << 3) /*Requires layout update on parent when changed*/
|
#define LV_STYLE_PROP_PARENT_LAYOUT_REFR (1 << 3) /*Requires layout update on parent when changed*/
|
||||||
#define LV_STYLE_PROP_ALL (0xf) /*Indicating all flags*/
|
#define LV_STYLE_PROP_ALL (0xf) /*Indicating all flags*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Other constants
|
* Other constants
|
||||||
|
|||||||
Reference in New Issue
Block a user