Home
last modified time | relevance | path

Searched refs:cont2 (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/examples/others/gridnav/
Dlv_example_gridnav_1.c40 lv_obj_t * cont2 = lv_obj_create(lv_scr_act()); in lv_example_gridnav_1() local
41 lv_gridnav_add(cont2, LV_GRIDNAV_CTRL_ROLLOVER); in lv_example_gridnav_1()
42 lv_obj_set_style_bg_color(cont2, lv_palette_lighten(LV_PALETTE_BLUE, 5), LV_STATE_FOCUSED); in lv_example_gridnav_1()
43 lv_obj_set_size(cont2, lv_pct(50), lv_pct(100)); in lv_example_gridnav_1()
44 lv_obj_align(cont2, LV_ALIGN_RIGHT_MID, 0, 0); in lv_example_gridnav_1()
46 label = lv_label_create(cont2); in lv_example_gridnav_1()
51 lv_group_add_obj(lv_group_get_default(), cont2); in lv_example_gridnav_1()
54 lv_obj_t * ta = lv_textarea_create(cont2); in lv_example_gridnav_1()
59 lv_obj_t * cb = lv_checkbox_create(cont2); in lv_example_gridnav_1()
63 lv_obj_t * sw1 = lv_switch_create(cont2); in lv_example_gridnav_1()
[all …]
/lvgl-3.7.0/examples/widgets/checkbox/
Dlv_example_checkbox_2.c68 lv_obj_t * cont2 = lv_obj_create(lv_scr_act()); in lv_example_checkbox_2() local
69 lv_obj_set_flex_flow(cont2, LV_FLEX_FLOW_COLUMN); in lv_example_checkbox_2()
70 lv_obj_set_size(cont2, lv_pct(40), lv_pct(80)); in lv_example_checkbox_2()
71 lv_obj_set_x(cont2, lv_pct(50)); in lv_example_checkbox_2()
72 lv_obj_add_event_cb(cont2, radio_event_handler, LV_EVENT_CLICKED, &active_index_2); in lv_example_checkbox_2()
76 radiobutton_create(cont2, buf); 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-3.7.0/tests/src/test_cases/
Dtest_dropdown.c431 lv_obj_t * cont2 = lv_obj_create(lv_scr_act()); in test_dropdown_should_list_on_top() local
432 lv_obj_set_size(cont2, 200, 100); in test_dropdown_should_list_on_top()
433 lv_obj_set_pos(cont2, 0, 100); in test_dropdown_should_list_on_top()