/lvgl-latest/examples/widgets/switch/ |
D | lv_example_switch_1.c | 24 lv_obj_add_state(sw, LV_STATE_CHECKED); in lv_example_switch_1() 28 lv_obj_add_state(sw, LV_STATE_DISABLED); in lv_example_switch_1() 32 lv_obj_add_state(sw, LV_STATE_CHECKED | LV_STATE_DISABLED); in lv_example_switch_1()
|
/lvgl-latest/examples/widgets/checkbox/ |
D | lv_example_checkbox_1.c | 27 lv_obj_add_state(cb, LV_STATE_CHECKED); in lv_example_checkbox_1() 32 lv_obj_add_state(cb, LV_STATE_DISABLED); in lv_example_checkbox_1() 36 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); in lv_example_checkbox_1()
|
D | lv_example_checkbox_2.c | 20 lv_obj_add_state(act_cb, LV_STATE_CHECKED); /*Uncheck the current radio button*/ in radio_event_handler() 66 lv_obj_add_state(lv_obj_get_child(cont1, 0), LV_STATE_CHECKED); in lv_example_checkbox_2() 80 lv_obj_add_state(lv_obj_get_child(cont2, 0), LV_STATE_CHECKED); in lv_example_checkbox_2()
|
/lvgl-latest/examples/others/msg/ |
D | lv_example_msg_2.c | 104 lv_obj_add_state(ta, LV_STATE_DISABLED); in textarea_event_cb() 129 lv_obj_add_state(btn, LV_STATE_DISABLED); in log_out_event_cb() 144 lv_obj_add_state(btn, LV_STATE_DISABLED); in start_engine_msg_event_cb()
|
/lvgl-latest/demos/stress/ |
D | lv_demo_stress.c | 131 lv_obj_add_state(obj, LV_STATE_DISABLED); in obj_test_timer_cb() 194 lv_obj_add_state(obj, LV_STATE_CHECKED); in obj_test_timer_cb() 400 lv_obj_add_state(obj, LV_STATE_CHECKED); in obj_test_timer_cb() 403 lv_obj_add_state(obj, LV_STATE_CHECKED | LV_STATE_DISABLED); in obj_test_timer_cb()
|
/lvgl-latest/src/extra/others/gridnav/ |
D | lv_gridnav.c | 99 lv_obj_add_state(to_focus, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in lv_gridnav_set_focused() 211 lv_obj_add_state(guess, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in gridnav_event_cb() 219 lv_obj_add_state(dsc->focused_obj, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in gridnav_event_cb() 235 lv_obj_add_state(child, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in gridnav_event_cb()
|
/lvgl-latest/examples/widgets/textarea/ |
D | lv_example_textarea_1.c | 28 lv_obj_add_state(ta, LV_STATE_FOCUSED); /*To be sure the cursor is visible*/ in lv_example_textarea_1()
|
/lvgl-latest/examples/anim/ |
D | lv_example_anim_1.c | 48 lv_obj_add_state(sw, LV_STATE_CHECKED); in lv_example_anim_1()
|
/lvgl-latest/examples/widgets/list/ |
D | lv_example_list_2.c | 29 lv_obj_add_state(child, LV_STATE_CHECKED); in event_handler() 135 lv_obj_add_state(currentButton, LV_STATE_CHECKED); in lv_example_list_2()
|
/lvgl-latest/docs/widgets/core/ |
D | checkbox.md | 28 lv_obj_add_state(cb, LV_STATE_CHECKED); /*Make the chekbox checked*/ 30 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disable…
|
D | switch.md | 21 Call `lv_obj_add_state(switch, LV_STATE_CHECKED)` to turn it on, or `lv_obj_clear_state(switch, LV_…
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_list.c | 151 lv_obj_add_state(btn, LV_STATE_CHECKED); in _lv_demo_music_list_btn_check() 188 lv_obj_add_state(btn, LV_STATE_DISABLED); in add_list_btn()
|
D | lv_demo_music_main.c | 350 lv_obj_add_state(play_obj, LV_STATE_CHECKED); in _lv_demo_music_resume()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_checkbox.c | 42 lv_obj_add_state(checkbox, LV_STATE_CHECKED); in test_checkbox_should_call_event_handler_on_click_when_enabled()
|
/lvgl-latest/src/core/ |
D | lv_obj.c | 294 void lv_obj_add_state(lv_obj_t * obj, lv_state_t state) in lv_obj_add_state() function 731 lv_obj_add_state(obj, LV_STATE_PRESSED); in lv_obj_event() 738 if(!(lv_obj_get_state(obj) & LV_STATE_CHECKED)) lv_obj_add_state(obj, LV_STATE_CHECKED); in lv_obj_event() 759 lv_obj_add_state(obj, LV_STATE_CHECKED); in lv_obj_event() 819 lv_obj_add_state(obj, state); in lv_obj_event() 822 lv_obj_add_state(obj, state); in lv_obj_event() 827 lv_obj_add_state(obj, LV_STATE_SCROLLED); in lv_obj_event()
|
D | lv_obj.h | 250 void lv_obj_add_state(lv_obj_t * obj, lv_state_t state);
|
/lvgl-latest/demos/keypad_encoder/ |
D | lv_demo_keypad_encoder.c | 177 lv_obj_add_state(lv_msgbox_get_btns(mbox), LV_STATE_FOCUS_KEY); in msgbox_create()
|
/lvgl-latest/examples/widgets/menu/ |
D | lv_example_menu_5.c | 193 lv_obj_add_state(sw, chk ? LV_STATE_CHECKED : 0); in create_switch()
|
/lvgl-latest/src/extra/widgets/imgbtn/ |
D | lv_imgbtn.c | 106 lv_obj_add_state(obj, obj_state); in lv_imgbtn_set_state()
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 261 lv_obj_add_state(invite_btn, LV_STATE_DISABLED); in profile_create() 956 lv_obj_add_state(cb, LV_STATE_CHECKED); in shop_create() 960 lv_obj_add_state(cb, LV_STATE_DISABLED); in shop_create() 964 lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); in shop_create()
|
/lvgl-latest/src/extra/widgets/menu/ |
D | lv_menu.c | 229 lv_obj_add_state(menu->selected_tab, LV_STATE_CHECKED); in lv_menu_set_page()
|
/lvgl-latest/docs/overview/ |
D | object.md | 218 In both cases OR-ed state values can be used as well. E.g. `lv_obj_add_state(obj, part, LV_STATE_PR…
|
/lvgl-latest/docs/get-started/ |
D | quick-overview.md | 179 lv_obj_add_state(obj, LV_STATE_...);
|
/lvgl-latest/src/widgets/ |
D | lv_dropdown.c | 459 lv_obj_add_state(dropdown_obj, LV_STATE_CHECKED); in lv_dropdown_open()
|