Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/extra/widgets/tileview/
Dlv_tileview.c65 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
72 lv_obj_t * obj = lv_obj_class_create_obj(&lv_tileview_tile_class, tv); in lv_tileview_add_tile()
83 lv_tileview_t * tv = (lv_tileview_t *) obj; in lv_obj_set_tile() local
84 tv->tile_act = (lv_obj_t *)tile; in lv_obj_set_tile()
90 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
92 lv_obj_update_layout(tv); in lv_obj_set_tile_id()
94 lv_coord_t w = lv_obj_get_content_width(tv); in lv_obj_set_tile_id()
95 lv_coord_t h = lv_obj_get_content_height(tv); in lv_obj_set_tile_id()
101 for(i = 0; i < lv_obj_get_child_cnt(tv); i++) { in lv_obj_set_tile_id()
102 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.4.0/src/extra/widgets/tabview/
Dlv_tabview.h43 lv_obj_t * lv_tabview_add_tab(lv_obj_t * tv, const char * name);
45 lv_obj_t * lv_tabview_get_content(lv_obj_t * tv);
47 lv_obj_t * lv_tabview_get_tab_btns(lv_obj_t * tv);
51 uint16_t lv_tabview_get_tab_act(lv_obj_t * tv);
Dlv_tabview.c160 lv_obj_t * lv_tabview_get_content(lv_obj_t * tv) in lv_tabview_get_content() argument
162 return lv_obj_get_child(tv, 1); in lv_tabview_get_content()
165 lv_obj_t * lv_tabview_get_tab_btns(lv_obj_t * tv) in lv_tabview_get_tab_btns() argument
167 return lv_obj_get_child(tv, 0); in lv_tabview_get_tab_btns()
281 lv_obj_t * tv = lv_obj_get_parent(btns); in btns_value_changed_event_cb() local
283 lv_tabview_set_act(tv, id, LV_ANIM_ON); in btns_value_changed_event_cb()
291 lv_obj_t * tv = lv_obj_get_parent(cont); in cont_scroll_end_event_cb() local
293 lv_tabview_set_act(tv, lv_tabview_get_tab_act(tv), LV_ANIM_OFF); in cont_scroll_end_event_cb()
302 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()
307 if(t != lv_tabview_get_tab_act(tv)) new_tab = true; in cont_scroll_end_event_cb()
[all …]
/lvgl-3.4.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()
21 lv_obj_t * tile2 = lv_tileview_add_tile(tv, 0, 1, LV_DIR_TOP | LV_DIR_RIGHT); in lv_example_tileview_1()
32 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.4.0/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c35 static lv_obj_t * tv; variable
68 tv = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, LV_DPI_DEF / 3); in lv_demo_keypad_encoder()
70 t1 = lv_tabview_add_tab(tv, "Selectors"); in lv_demo_keypad_encoder()
71 t2 = lv_tabview_add_tab(tv, "Text input"); in lv_demo_keypad_encoder()
213 lv_obj_set_height(tv, LV_VER_RES / 2); in ta_event_cb()
219 lv_obj_set_height(tv, LV_VER_RES); in ta_event_cb()
/lvgl-3.4.0/demos/stress/
Dlv_demo_stress.c262 lv_obj_t * tv = lv_tileview_create(lv_scr_act()); in obj_test_task_cb() local
263 lv_obj_set_size(tv, 200, 200); in obj_test_task_cb()
264 auto_del(tv, LV_DEMO_STRESS_TIME_STEP * 4 + 5); in obj_test_task_cb()
266 obj = lv_tileview_add_tile(tv, 0, 0, LV_DIR_ALL); in obj_test_task_cb()
270 obj = lv_tileview_add_tile(tv, 0, 1, LV_DIR_ALL); in obj_test_task_cb()
274 obj = lv_tileview_add_tile(tv, 1, 1, LV_DIR_ALL); in obj_test_task_cb()
278 lv_obj_set_tile_id(tv, 1, 1, LV_ANIM_ON); in obj_test_task_cb()
/lvgl-3.4.0/demos/widgets/
Dlv_demo_widgets.c60 static lv_obj_t * tv; variable
161 tv = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, tab_h); in lv_demo_widgets()
166 lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tv); in lv_demo_widgets()
184 lv_obj_t * t1 = lv_tabview_add_tab(tv, "Profile"); in lv_demo_widgets()
185 lv_obj_t * t2 = lv_tabview_add_tab(tv, "Analytics"); in lv_demo_widgets()
186 lv_obj_t * t3 = lv_tabview_add_tab(tv, "Shop"); in lv_demo_widgets()
191 color_changer_create(tv); in lv_demo_widgets()
1189 lv_obj_update_layout(tv); /*Be sure the sizes are recalculated*/ in ta_event_cb()
1190 lv_obj_set_height(tv, LV_VER_RES - lv_obj_get_height(kb)); in ta_event_cb()
1197 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.4.0/docs/_static/css/
Dfontawesome.min.css5 …tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26…