Lines Matching refs:roller
26 lv_obj_t * roller; in lv_example_roller_2() local
29 roller = lv_roller_create(lv_scr_act()); in lv_example_roller_2()
30 lv_roller_set_options(roller, opts, LV_ROLLER_MODE_NORMAL); in lv_example_roller_2()
31 lv_roller_set_visible_row_count(roller, 2); in lv_example_roller_2()
32 lv_obj_set_width(roller, 100); in lv_example_roller_2()
33 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
34 lv_obj_set_style_text_align(roller, LV_TEXT_ALIGN_LEFT, 0); in lv_example_roller_2()
35 lv_obj_align(roller, LV_ALIGN_LEFT_MID, 10, 0); in lv_example_roller_2()
36 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
37 lv_roller_set_selected(roller, 2, LV_ANIM_OFF); in lv_example_roller_2()
40 roller = lv_roller_create(lv_scr_act()); in lv_example_roller_2()
41 lv_roller_set_options(roller, opts, LV_ROLLER_MODE_NORMAL); in lv_example_roller_2()
42 lv_roller_set_visible_row_count(roller, 3); in lv_example_roller_2()
43 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
44 lv_obj_align(roller, LV_ALIGN_CENTER, 0, 0); in lv_example_roller_2()
45 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
46 lv_roller_set_selected(roller, 5, LV_ANIM_OFF); in lv_example_roller_2()
49 roller = lv_roller_create(lv_scr_act()); in lv_example_roller_2()
50 lv_roller_set_options(roller, opts, LV_ROLLER_MODE_NORMAL); in lv_example_roller_2()
51 lv_roller_set_visible_row_count(roller, 4); in lv_example_roller_2()
52 lv_obj_set_width(roller, 80); in lv_example_roller_2()
53 lv_obj_add_style(roller, &style_sel, LV_PART_SELECTED); in lv_example_roller_2()
54 lv_obj_set_style_text_align(roller, LV_TEXT_ALIGN_RIGHT, 0); in lv_example_roller_2()
55 lv_obj_align(roller, LV_ALIGN_RIGHT_MID, -10, 0); in lv_example_roller_2()
56 lv_obj_add_event_cb(roller, event_handler, LV_EVENT_ALL, NULL); in lv_example_roller_2()
57 lv_roller_set_selected(roller, 8, LV_ANIM_OFF); in lv_example_roller_2()