/lvgl-latest/src/misc/ |
D | lv_style_gen.h | 89 .prop = LV_STYLE_WIDTH, .value = { .num = (int32_t)val } \ 94 .prop = LV_STYLE_MIN_WIDTH, .value = { .num = (int32_t)val } \ 99 .prop = LV_STYLE_MAX_WIDTH, .value = { .num = (int32_t)val } \ 104 .prop = LV_STYLE_HEIGHT, .value = { .num = (int32_t)val } \ 109 .prop = LV_STYLE_MIN_HEIGHT, .value = { .num = (int32_t)val } \ 114 .prop = LV_STYLE_MAX_HEIGHT, .value = { .num = (int32_t)val } \ 119 .prop = LV_STYLE_X, .value = { .num = (int32_t)val } \ 124 .prop = LV_STYLE_Y, .value = { .num = (int32_t)val } \ 129 .prop = LV_STYLE_ALIGN, .value = { .num = (int32_t)val } \ 134 .prop = LV_STYLE_TRANSFORM_WIDTH, .value = { .num = (int32_t)val } \ [all …]
|
D | lv_style.h | 77 #define LV_STYLE_PROP_ID_MASK(prop) ((lv_style_prop_t)((prop) & ~LV_STYLE_PROP_META_MASK)) argument 312 lv_style_prop_t prop; member 383 bool lv_style_remove_prop(lv_style_t * style, lv_style_prop_t prop); 393 void lv_style_set_prop(lv_style_t * style, lv_style_prop_t prop, lv_style_value_t value); 402 void lv_style_set_prop_meta(lv_style_t * style, lv_style_prop_t prop, uint16_t meta); 413 lv_style_res_t lv_style_get_prop(const lv_style_t * style, lv_style_prop_t prop, lv_style_value_t *… 436 lv_style_value_t lv_style_prop_get_default(lv_style_prop_t prop); 448 …tic inline lv_style_res_t lv_style_get_prop_inlined(const lv_style_t * style, lv_style_prop_t prop, in lv_style_get_prop_inlined() argument 456 lv_style_prop_t prop_id = LV_STYLE_PROP_ID_MASK(const_prop->prop); in lv_style_get_prop_inlined() 457 if(prop_id == prop) { in lv_style_get_prop_inlined() [all …]
|
D | lv_style.c | 29 static void lv_style_set_prop_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * prop_… 31 static void lv_style_set_prop_meta_helper(lv_style_prop_t prop, lv_style_value_t value, uint16_t * … 222 bool lv_style_remove_prop(lv_style_t * style, lv_style_prop_t prop) in lv_style_remove_prop() argument 234 if(LV_STYLE_PROP_ID_MASK(style->prop1) == prop) { in lv_style_remove_prop() 246 if(LV_STYLE_PROP_ID_MASK(old_props[i]) == prop) { in lv_style_remove_prop() 268 if(old_props[j] != prop) { in lv_style_remove_prop() 283 void lv_style_set_prop(lv_style_t * style, lv_style_prop_t prop, lv_style_value_t value) in lv_style_set_prop() argument 285 lv_style_set_prop_internal(style, prop, value, lv_style_set_prop_helper); in lv_style_set_prop() 288 void lv_style_set_prop_meta(lv_style_t * style, lv_style_prop_t prop, uint16_t meta) in lv_style_set_prop_meta() argument 290 lv_style_set_prop_internal(style, prop | meta, null_style_value, lv_style_set_prop_meta_helper); in lv_style_set_prop_meta() [all …]
|
/lvgl-latest/src/core/ |
D | lv_obj_style.c | 24 lv_style_prop_t prop; member 47 static lv_style_res_t get_prop_core(const lv_obj_t * obj, lv_part_t part, lv_style_prop_t prop, lv_… 50 static bool trans_del(lv_obj_t * obj, lv_part_t part, lv_style_prop_t prop, trans_t * tr_limit); 110 lv_style_prop_t prop = LV_STYLE_PROP_ANY; in lv_obj_remove_style() local 111 if(style && style->prop_cnt == 0) prop = LV_STYLE_PROP_INV; in lv_obj_remove_style() 148 if(deleted && prop != LV_STYLE_PROP_INV) { in lv_obj_remove_style() 149 lv_obj_refresh_style(obj, part, prop); in lv_obj_remove_style() 167 void lv_obj_refresh_style(lv_obj_t * obj, lv_style_selector_t selector, lv_style_prop_t prop) in lv_obj_refresh_style() argument 177 bool is_layout_refr = lv_style_prop_has_flag(prop, LV_STYLE_PROP_LAYOUT_REFR); in lv_obj_refresh_style() 178 bool is_ext_draw = lv_style_prop_has_flag(prop, LV_STYLE_PROP_EXT_DRAW); in lv_obj_refresh_style() [all …]
|
D | lv_obj_style.h | 50 lv_style_prop_t prop; member 112 void lv_obj_refresh_style(struct _lv_obj_t * obj, lv_part_t part, lv_style_prop_t prop); 131 …_value_t lv_obj_get_style_prop(const struct _lv_obj_t * obj, lv_part_t part, lv_style_prop_t prop); 140 void lv_obj_set_local_style_prop(struct _lv_obj_t * obj, lv_style_prop_t prop, lv_style_value_t val… 143 void lv_obj_set_local_style_prop_meta(struct _lv_obj_t * obj, lv_style_prop_t prop, uint16_t meta, 146 lv_style_res_t lv_obj_get_local_style_prop(struct _lv_obj_t * obj, lv_style_prop_t prop, lv_style_v… 156 bool lv_obj_remove_local_style_prop(struct _lv_obj_t * obj, lv_style_prop_t prop, lv_style_selector…
|
D | lv_obj.c | 919 … if(ts[t].prop == tr->props[j] && part_ts == part_act && state_ts >= state_act) break; in lv_obj_set_state() 927 ts[tsi].prop = tr->props[j]; in lv_obj_set_state()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_style.c | 49 lv_style_prop_t prop = lv_style_register_prop(fake_flag); in test_custom_prop_ids() local 51 TEST_ASSERT_GREATER_THAN(_LV_STYLE_LAST_BUILT_IN_PROP, prop); in test_custom_prop_ids() 54 TEST_ASSERT_EQUAL(_LV_STYLE_NUM_BUILT_IN_PROPS + initial_custom_props, prop); in test_custom_prop_ids() 57 TEST_ASSERT_EQUAL(fake_flag, _lv_style_prop_lookup_flags(prop)); in test_custom_prop_ids()
|