Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 11 of 11) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/tileview/
Dlv_tileview.c66 lv_obj_t * lv_tileview_add_tile(lv_obj_t * tv, uint8_t col_id, uint8_t row_id, lv_dir_t dir) in lv_tileview_add_tile() argument
73 lv_obj_t * obj = lv_obj_class_create_obj(&lv_tileview_tile_class, tv); in lv_tileview_add_tile()
84 lv_tileview_t * tv = (lv_tileview_t *) obj; in lv_obj_set_tile() local
85 tv->tile_act = (lv_obj_t *)tile; in lv_obj_set_tile()
91 void lv_obj_set_tile_id(lv_obj_t * tv, uint32_t col_id, uint32_t row_id, lv_anim_enable_t anim_en) in lv_obj_set_tile_id() argument
93 lv_obj_update_layout(tv); in lv_obj_set_tile_id()
95 lv_coord_t w = lv_obj_get_content_width(tv); in lv_obj_set_tile_id()
96 lv_coord_t h = lv_obj_get_content_height(tv); in lv_obj_set_tile_id()
102 for(i = 0; i < lv_obj_get_child_cnt(tv); i++) { in lv_obj_set_tile_id()
103 lv_obj_t * tile_obj = lv_obj_get_child(tv, i); in lv_obj_set_tile_id()
[all …]
Dlv_tileview.h51 lv_obj_t * lv_tileview_add_tile(lv_obj_t * tv, uint8_t col_id, uint8_t row_id, lv_dir_t dir);
53 void lv_obj_set_tile(lv_obj_t * tv, lv_obj_t * tile_obj, lv_anim_enable_t anim_en);
54 void lv_obj_set_tile_id(lv_obj_t * tv, uint32_t col_id, uint32_t row_id, lv_anim_enable_t anim_en);
/lvgl-3.7.0/src/extra/widgets/tabview/
Dlv_tabview.h43 lv_obj_t * lv_tabview_add_tab(lv_obj_t * tv, const char * name);
47 lv_obj_t * lv_tabview_get_content(lv_obj_t * tv);
49 lv_obj_t * lv_tabview_get_tab_btns(lv_obj_t * tv);
53 uint16_t lv_tabview_get_tab_act(lv_obj_t * tv);
Dlv_tabview.c184 lv_obj_t * lv_tabview_get_content(lv_obj_t * tv) in lv_tabview_get_content() argument
186 return lv_obj_get_child(tv, 1); in lv_tabview_get_content()
189 lv_obj_t * lv_tabview_get_tab_btns(lv_obj_t * tv) in lv_tabview_get_tab_btns() argument
191 return lv_obj_get_child(tv, 0); in lv_tabview_get_tab_btns()
309 lv_obj_t * tv = lv_obj_get_parent(btns); in btns_value_changed_event_cb() local
311 lv_tabview_set_act(tv, id, LV_ANIM_OFF); in btns_value_changed_event_cb()
319 lv_obj_t * tv = lv_obj_get_parent(cont); in cont_scroll_end_event_cb() local
320 lv_tabview_t * tv_obj = (lv_tabview_t *)tv; in cont_scroll_end_event_cb()
322 lv_tabview_set_act(tv, lv_tabview_get_tab_act(tv), LV_ANIM_OFF); in cont_scroll_end_event_cb()
336 … if(lv_obj_get_style_base_dir(tv, LV_PART_MAIN) == LV_BASE_DIR_RTL) t = -(p.x - w / 2) / w; in cont_scroll_end_event_cb()
[all …]
/lvgl-3.7.0/examples/widgets/tileview/
Dlv_example_tileview_1.c11 lv_obj_t * tv = lv_tileview_create(lv_scr_act()); in lv_example_tileview_1() local
14 lv_obj_t * tile1 = lv_tileview_add_tile(tv, 0, 0, LV_DIR_BOTTOM); in lv_example_tileview_1()
20 lv_obj_t * tile2 = lv_tileview_add_tile(tv, 0, 1, LV_DIR_TOP | LV_DIR_RIGHT); in lv_example_tileview_1()
31 lv_obj_t * tile3 = lv_tileview_add_tile(tv, 1, 1, LV_DIR_LEFT); in lv_example_tileview_1()
Dlv_example_tileview_1.py6 tv = lv.tileview(lv.scr_act()) variable
9 tile1 = tv.add_tile(0, 0, lv.DIR.BOTTOM)
15 tile2 = tv.add_tile(0, 1, lv.DIR.TOP | lv.DIR.RIGHT)
26 tile3 = tv.add_tile(1, 1, lv.DIR.LEFT)
/lvgl-3.7.0/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c35 static lv_obj_t * tv; variable
71 tv = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, LV_DPI_DEF / 3); in lv_demo_keypad_encoder()
73 t1 = lv_tabview_add_tab(tv, "Selectors"); in lv_demo_keypad_encoder()
74 t2 = lv_tabview_add_tab(tv, "Text input"); in lv_demo_keypad_encoder()
219 lv_obj_set_height(tv, LV_VER_RES / 2); in ta_event_cb()
225 lv_obj_set_height(tv, LV_VER_RES); in ta_event_cb()
/lvgl-3.7.0/demos/stress/
Dlv_demo_stress.c273 lv_obj_t * tv = lv_tileview_create(lv_scr_act()); in obj_test_timer_cb() local
274 lv_obj_set_size(tv, 200, 200); in obj_test_timer_cb()
275 auto_del(tv, LV_DEMO_STRESS_TIME_STEP * 4 + 5); in obj_test_timer_cb()
277 obj = lv_tileview_add_tile(tv, 0, 0, LV_DIR_ALL); in obj_test_timer_cb()
281 obj = lv_tileview_add_tile(tv, 0, 1, LV_DIR_ALL); in obj_test_timer_cb()
285 obj = lv_tileview_add_tile(tv, 1, 1, LV_DIR_ALL); in obj_test_timer_cb()
289 lv_obj_set_tile_id(tv, 1, 1, LV_ANIM_ON); in obj_test_timer_cb()
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.c62 static lv_obj_t * tv; variable
168 tv = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, tab_h); in lv_demo_widgets()
173 lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tv); in lv_demo_widgets()
191 lv_obj_t * t1 = lv_tabview_add_tab(tv, "Profile"); in lv_demo_widgets()
192 lv_obj_t * t2 = lv_tabview_add_tab(tv, "Analytics"); in lv_demo_widgets()
193 lv_obj_t * t3 = lv_tabview_add_tab(tv, "Shop"); in lv_demo_widgets()
198 color_changer_create(tv); in lv_demo_widgets()
1219 lv_obj_update_layout(tv); /*Be sure the sizes are recalculated*/ in ta_event_cb()
1220 lv_obj_set_height(tv, LV_VER_RES - lv_obj_get_height(kb)); in ta_event_cb()
1227 lv_obj_set_height(tv, LV_VER_RES); in ta_event_cb()
[all …]
Dlv_demo_widgets.py544 tv = lv.tabview(lv.scr_act(), None) variable
547 tv.set_style_local_pad_left(lv.tabview.PART.TAB_BG, lv.STATE.DEFAULT, disp_drv.hor_res // 2)
558 t1 = tv.add_tab("Controls")
559 t2 = tv.add_tab("Visuals")
560 t3 = tv.add_tab("Selectors")
/lvgl-3.7.0/docs/_static/css/
Dfontawesome.min.css5 …tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26…