Home
last modified time | relevance | path

Searched refs:lv_state_t (Results 1 – 9 of 9) sorted by relevance

/lvgl-latest/src/core/
Dlv_obj.h60 typedef uint16_t lv_state_t; typedef
183 lv_state_t state;
250 void lv_obj_add_state(lv_obj_t * obj, lv_state_t state);
258 void lv_obj_clear_state(lv_obj_t * obj, lv_state_t state);
297 lv_state_t lv_obj_get_state(const lv_obj_t * obj);
305 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state);
Dlv_obj_style.h171 void _lv_obj_style_create_transition(struct _lv_obj_t * obj, lv_part_t part, lv_state_t prev_state,
172lv_state_t new_state, const _lv_obj_style_transition_dsc_t * tr);
181 …ate_cmp_t _lv_obj_style_state_compare(struct _lv_obj_t * obj, lv_state_t state1, lv_state_t state2…
199 lv_state_t lv_obj_style_get_selector_state(lv_style_selector_t selector);
Dlv_obj.c67 static void lv_obj_set_state(lv_obj_t * obj, lv_state_t new_state);
294 void lv_obj_add_state(lv_obj_t * obj, lv_state_t state) in lv_obj_add_state()
298 lv_state_t new_state = obj->state | state; in lv_obj_add_state()
304 void lv_obj_clear_state(lv_obj_t * obj, lv_state_t state) in lv_obj_clear_state()
308 lv_state_t new_state = obj->state & (~state); in lv_obj_clear_state()
332 lv_state_t lv_obj_get_state(const lv_obj_t * obj) in lv_obj_get_state()
339 bool lv_obj_has_state(const lv_obj_t * obj, lv_state_t state) in lv_obj_has_state()
807 lv_state_t state = LV_STATE_FOCUSED; in lv_obj_event()
883 static void lv_obj_set_state(lv_obj_t * obj, lv_state_t new_state) in lv_obj_set_state()
889 lv_state_t prev_state = obj->state; in lv_obj_set_state()
[all …]
Dlv_obj_style.c108 lv_state_t state = lv_obj_style_get_selector_state(selector); in lv_obj_remove_style()
116 lv_state_t state_act = lv_obj_style_get_selector_state(obj->styles[i].selector); in lv_obj_remove_style()
324 …obj_style_create_transition(lv_obj_t * obj, lv_part_t part, lv_state_t prev_state, lv_state_t new_… in _lv_obj_style_create_transition()
391 _lv_style_state_cmp_t _lv_obj_style_state_compare(lv_obj_t * obj, lv_state_t state1, lv_state_t sta… in _lv_obj_style_state_compare()
400 lv_state_t state_act = lv_obj_style_get_selector_state(obj->styles[i].selector); in _lv_obj_style_state_compare()
478 lv_state_t lv_obj_style_get_selector_state(lv_style_selector_t selector) in lv_obj_style_get_selector_state()
605 lv_state_t state = obj->state; in get_prop_core()
606 lv_state_t state_inv = ~state; in get_prop_core()
634 lv_state_t state_act = lv_obj_style_get_selector_state(obj->styles[i].selector); in get_prop_core()
/lvgl-latest/tests/src/test_cases/
Dtest_switch.c45 lv_state_t state = lv_obj_get_state(sw); in test_switch_should_have_default_state_after_being_created()
/lvgl-latest/src/extra/widgets/imgbtn/
Dlv_imgbtn.c97 lv_state_t obj_state = LV_STATE_DEFAULT; in lv_imgbtn_set_state()
365 lv_state_t obj_state = lv_obj_get_state(imgbtn); in get_state()
/lvgl-latest/src/widgets/
Dlv_dropdown.c50 static void draw_box(lv_obj_t * dropdown_obj, lv_draw_ctx_t * draw_ctx, uint16_t id, lv_state_t sta…
51 …d draw_box_label(lv_obj_t * dropdown_obj, lv_draw_ctx_t * draw_ctx, uint16_t id, lv_state_t state);
929 static void draw_box(lv_obj_t * dropdown_obj, lv_draw_ctx_t * draw_ctx, uint16_t id, lv_state_t sta… in draw_box()
935 lv_state_t state_ori = list_obj->state; in draw_box()
967 …id draw_box_label(lv_obj_t * dropdown_obj, lv_draw_ctx_t * draw_ctx, uint16_t id, lv_state_t state) in draw_box_label()
973 lv_state_t state_orig = list_obj->state; in draw_box_label()
Dlv_btnmatrix.c710 lv_state_t state_ori = obj->state; in draw_main()
748 lv_state_t btn_state = LV_STATE_DEFAULT; in draw_main()
Dlv_table.c688 lv_state_t state_ori = obj->state; in draw_main()
785 lv_state_t cell_state = LV_STATE_DEFAULT; in draw_main()