Home
last modified time | relevance | path

Searched refs:LV_STATE_DISABLED (Results 1 – 25 of 29) sorted by relevance

12

/lvgl-latest/examples/others/observer/
Dlv_example_observer_2.c104 lv_obj_bind_state_if_eq(ta, &auth_state_subject, LV_STATE_DISABLED, LOGGED_IN); in ui_init()
116 lv_obj_bind_state_if_not_eq(btn, &auth_state_subject, LV_STATE_DISABLED, LOGGED_IN); in ui_init()
130 lv_obj_bind_state_if_not_eq(btn, &auth_state_subject, LV_STATE_DISABLED, LOGGED_IN); in ui_init()
Dlv_example_observer_3.c72 lv_obj_add_state(set_btn, LV_STATE_DISABLED); in set_btn_clicked_event_cb()
98 lv_obj_bind_state_if_eq(am_pm_dropdown, &format_subject, LV_STATE_DISABLED, TIME_FORMAT_24); in set_btn_clicked_event_cb()
116 lv_obj_remove_state(set_btn, LV_STATE_DISABLED); in close_clicked_event_cb()
/lvgl-latest/examples/widgets/switch/
Dlv_example_switch_1.c30 lv_obj_add_state(sw, LV_STATE_DISABLED); in lv_example_switch_1()
34 lv_obj_add_state(sw, LV_STATE_CHECKED | LV_STATE_DISABLED); in lv_example_switch_1()
/lvgl-latest/examples/widgets/checkbox/
Dlv_example_checkbox_1.c35 lv_obj_add_state(cb, LV_STATE_DISABLED); in lv_example_checkbox_1()
39 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); in lv_example_checkbox_1()
/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_about.c134 lv_obj_add_state(left, LV_STATE_DISABLED); in lv_demo_high_res_app_about()
185 lv_obj_set_state(left_button, LV_STATE_DISABLED, in slide_deck_scrolled_cb()
187 … lv_obj_set_state(right_button, LV_STATE_DISABLED, lv_obj_get_scroll_right(slide_deck_cont) <= 0); in slide_deck_scrolled_cb()
198 lv_obj_set_style_opa(button, LV_OPA_20, LV_STATE_DISABLED); in create_button()
/lvgl-latest/src/widgets/imagebutton/
Dlv_imagebutton.c101 state == LV_IMAGEBUTTON_STATE_CHECKED_DISABLED) obj_state |= LV_STATE_DISABLED; in lv_imagebutton_set_state()
107 lv_obj_remove_state(obj, LV_STATE_CHECKED | LV_STATE_PRESSED | LV_STATE_DISABLED); in lv_imagebutton_set_state()
314 if(obj_state & LV_STATE_DISABLED) { in get_state()
/lvgl-latest/demos/music/
Dlv_demo_music_list.c193 lv_obj_add_style(btn, &style_button_dis, LV_STATE_DISABLED); in add_list_button()
197 lv_obj_add_state(btn, LV_STATE_DISABLED); in add_list_button()
/lvgl-latest/src/themes/mono/
Dlv_theme_mono.c283 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
296 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
308 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
320 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
363 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
452 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
/lvgl-latest/tests/src/test_cases/
Dtest_observer.c276 lv_obj_bind_state_if_not_eq(obj, &subject, LV_STATE_DISABLED, 10); in test_observer_obj_state()
279 TEST_ASSERT_EQUAL(true, lv_obj_has_state(obj, LV_STATE_DISABLED)); in test_observer_obj_state()
283 TEST_ASSERT_EQUAL(true, lv_obj_has_state(obj, LV_STATE_DISABLED)); in test_observer_obj_state()
287 TEST_ASSERT_EQUAL(false, lv_obj_has_state(obj, LV_STATE_DISABLED)); in test_observer_obj_state()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_switch.c151 lv_obj_add_state(sw, LV_STATE_CHECKED | LV_STATE_DISABLED); in test_screeshots()
Dtest_obj_property.c202 { LV_STATE_DISABLED, LV_PROPERTY_OBJ_STATE_DISABLED }, in test_obj_property_state()
/lvgl-latest/src/themes/default/
Dlv_theme_default.c819 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
847 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
857 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
915 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
933 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
937 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
941 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_KNOB | LV_STATE_DISABLED); in theme_apply()
983 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
1019 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
1055 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
[all …]
/lvgl-latest/demos/stress/
Dlv_demo_stress.c119 lv_obj_add_state(obj, LV_STATE_DISABLED); in obj_test_task_cb()
391 lv_obj_add_state(obj, LV_STATE_CHECKED | LV_STATE_DISABLED); in obj_test_task_cb()
/lvgl-latest/src/core/
Dlv_group.c293 if(lv_obj_has_state(act, LV_STATE_DISABLED)) return LV_RESULT_OK; in lv_group_send_data()
471 if(lv_obj_get_state(*obj_next) & LV_STATE_DISABLED) continue; in focus_next_core()
Dlv_obj.h55 LV_STATE_DISABLED = 0x0080, enumerator
/lvgl-latest/docs/details/widgets/
Dcheckbox.rst56 …lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /* Make Checkbox checked and disabled …
Dbuttonmatrix.rst79 …_BUTTONMATRIX_CTRL_DISABLED`: Disables button like :cpp:enumerator:`LV_STATE_DISABLED` on normal W…
/lvgl-latest/env_support/pikascript/
Dpika_lvgl.c33 obj_setInt(self, "DISABLED", LV_STATE_DISABLED); in pika_lvgl_STATE___init__()
/lvgl-latest/src/indev/
Dlv_indev.c775 const bool is_enabled = !lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED); in indev_keypad_proc()
926 const bool is_enabled = !lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED); in indev_encoder_proc()
1254 const bool is_enabled = !lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED); in indev_proc_press()
1290 const bool is_enabled = !lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED); in indev_proc_press()
1393 const bool is_enabled = !lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED); in indev_proc_release()
/lvgl-latest/src/others/xml/
Dlv_xml_style.c61 else if(lv_streq("disabled", txt)) return LV_STATE_DISABLED; in lv_xml_style_state_to_enum()
/lvgl-latest/docs/
DREADME_jp.rst274 lv_obj_add_state(cb, LV_STATE_DISABLED);
278 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED);
DREADME_zh.rst307 lv_obj_add_state(cb, LV_STATE_DISABLED);
311 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED);
DREADME_pt_BR.rst334 lv_obj_add_state(cb, LV_STATE_DISABLED);
338 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED);
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c289 lv_obj_add_state(invite_btn, LV_STATE_DISABLED); in profile_create()
1034 lv_obj_add_state(cb, LV_STATE_DISABLED); in shop_create()
1038 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); in shop_create()
/lvgl-latest/
DREADME.md217 lv_obj_add_state(cb, LV_STATE_DISABLED);
221 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED);

12