mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(obj style) make lv_obj_style_t more compact
This commit is contained in:
parent
366d01eec9
commit
ad89db7c76
@ -75,9 +75,9 @@ enum {
|
||||
LV_PART_TICKS = 0x060000, /**< Ticks on scale e.g. for a chart or meter*/
|
||||
LV_PART_CURSOR = 0x070000, /**< Mark a specific place e.g. for text area's cursor or on a chart*/
|
||||
|
||||
LV_PART_CUSTOM_FIRST = 0x800000, /**< Extension point for custom widgets*/
|
||||
LV_PART_CUSTOM_FIRST = 0x080000, /**< Extension point for custom widgets*/
|
||||
|
||||
LV_PART_ANY = 0xFF0000, /**< Special value can be used in some functions to target all parts*/
|
||||
LV_PART_ANY = 0x0F0000, /**< Special value can be used in some functions to target all parts*/
|
||||
};
|
||||
|
||||
typedef uint32_t lv_part_t;
|
||||
|
@ -38,7 +38,7 @@ typedef uint32_t lv_style_selector_t;
|
||||
|
||||
typedef struct {
|
||||
lv_style_t * style;
|
||||
uint32_t selector;
|
||||
uint32_t selector :24;
|
||||
uint32_t is_local :1;
|
||||
uint32_t is_trans :1;
|
||||
}lv_obj_style_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user