/lvgl-3.7.0/src/extra/widgets/menu/ |
D | lv_menu.c | 109 bool lv_menu_item_back_btn_is_root(lv_obj_t * menu, lv_obj_t * obj); 168 lv_menu_t * menu = (lv_menu_t *)obj; in lv_menu_refr() local 169 lv_ll_t * history_ll = &(menu->history_ll); in lv_menu_refr() 181 menu->cur_depth--; in lv_menu_refr() 196 lv_menu_t * menu = (lv_menu_t *)obj; in lv_menu_set_page() local 199 if(menu->main_page == page) { in lv_menu_set_page() 204 if(menu->main_page != NULL) { in lv_menu_set_page() 205 lv_obj_set_parent(menu->main_page, menu->storage); in lv_menu_set_page() 210 lv_ll_t * history_ll = &(menu->history_ll); in lv_menu_set_page() 214 menu->cur_depth++; in lv_menu_set_page() [all …]
|
D | lv_menu.h | 42 lv_obj_t * menu; member 164 void lv_menu_set_load_page_event(lv_obj_t * menu, lv_obj_t * obj, lv_obj_t * page); 216 bool lv_menu_back_btn_is_root(lv_obj_t * menu, lv_obj_t * obj);
|
/lvgl-3.7.0/examples/widgets/menu/ |
D | lv_example_menu_5.c | 22 lv_obj_t * menu = lv_menu_create(lv_scr_act()); in lv_example_menu_5() local 24 lv_color_t bg_color = lv_obj_get_style_bg_color(menu, 0); in lv_example_menu_5() 26 lv_obj_set_style_bg_color(menu, lv_color_darken(lv_obj_get_style_bg_color(menu, 0), 10), 0); in lv_example_menu_5() 29 lv_obj_set_style_bg_color(menu, lv_color_darken(lv_obj_get_style_bg_color(menu, 0), 50), 0); in lv_example_menu_5() 31 lv_menu_set_mode_root_back_btn(menu, LV_MENU_ROOT_BACK_BTN_ENABLED); in lv_example_menu_5() 32 lv_obj_add_event_cb(menu, back_event_handler, LV_EVENT_CLICKED, menu); in lv_example_menu_5() 33 lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL)); in lv_example_menu_5() 34 lv_obj_center(menu); in lv_example_menu_5() 40 lv_obj_t * sub_mechanics_page = lv_menu_page_create(menu, NULL); in lv_example_menu_5() 41 …_style_pad_hor(sub_mechanics_page, lv_obj_get_style_pad_left(lv_menu_get_main_header(menu), 0), 0); in lv_example_menu_5() [all …]
|
D | lv_example_menu_2.py | 3 if menu.back_btn_is_root(obj): 8 menu = lv.menu(lv.scr_act()) variable 9 menu.set_mode_root_back_btn(lv.menu.ROOT_BACK_BTN.ENABLED) 10 menu.add_event_cb(back_event_handler, lv.EVENT.CLICKED, None) 11 menu.set_size(320, 240) 12 menu.center() 15 sub_page = lv.menu_page(menu, None) 21 main_page = lv.menu_page(menu, None) 34 menu.set_load_page_event(cont, sub_page) 36 menu.set_page(main_page)
|
D | lv_example_menu_2.c | 7 lv_obj_t * menu = lv_event_get_user_data(e); in back_event_handler() local 9 if(lv_menu_back_btn_is_root(menu, obj)) { in back_event_handler() 17 lv_obj_t * menu = lv_menu_create(lv_scr_act()); in lv_example_menu_2() local 18 lv_menu_set_mode_root_back_btn(menu, LV_MENU_ROOT_BACK_BTN_ENABLED); in lv_example_menu_2() 19 lv_obj_add_event_cb(menu, back_event_handler, LV_EVENT_CLICKED, menu); in lv_example_menu_2() 20 lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL)); in lv_example_menu_2() 21 lv_obj_center(menu); in lv_example_menu_2() 27 lv_obj_t * sub_page = lv_menu_page_create(menu, NULL); in lv_example_menu_2() 34 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_2() 47 lv_menu_set_load_page_event(menu, cont, sub_page); in lv_example_menu_2() [all …]
|
D | lv_example_menu_3.py | 2 menu = lv.menu(lv.scr_act()) variable 3 menu.set_size(320, 240) 4 menu.center() 7 sub_page_1 = lv.menu_page(menu, "Page 1") 13 sub_page_2 = lv.menu_page(menu, "Page 2") 19 sub_page_3 = lv.menu_page(menu, "Page 3") 26 main_page = lv.menu_page(menu, None) 31 menu.set_load_page_event(cont, sub_page_1) 36 menu.set_load_page_event(cont, sub_page_2) 41 menu.set_load_page_event(cont, sub_page_3) [all …]
|
D | lv_example_menu_3.c | 7 lv_obj_t * menu = lv_menu_create(lv_scr_act()); in lv_example_menu_3() local 8 lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL)); in lv_example_menu_3() 9 lv_obj_center(menu); in lv_example_menu_3() 12 lv_obj_t * back_btn = lv_menu_get_main_header_back_btn(menu); in lv_example_menu_3() 20 lv_obj_t * sub_1_page = lv_menu_page_create(menu, "Page 1"); in lv_example_menu_3() 26 lv_obj_t * sub_2_page = lv_menu_page_create(menu, "Page 2"); in lv_example_menu_3() 32 lv_obj_t * sub_3_page = lv_menu_page_create(menu, "Page 3"); in lv_example_menu_3() 39 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_3() 44 lv_menu_set_load_page_event(menu, cont, sub_1_page); in lv_example_menu_3() 49 lv_menu_set_load_page_event(menu, cont, sub_2_page); in lv_example_menu_3() [all …]
|
D | lv_example_menu_4.c | 6 static lv_obj_t * menu; variable 17 lv_obj_t * sub_page = lv_menu_page_create(menu, NULL); in float_btn_event_cb() 26 lv_menu_set_load_page_event(menu, cont, sub_page); in float_btn_event_cb() 34 menu = lv_menu_create(lv_scr_act()); in lv_example_menu_4() 35 lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL)); in lv_example_menu_4() 36 lv_obj_center(menu); in lv_example_menu_4() 42 lv_obj_t * sub_page = lv_menu_page_create(menu, NULL); in lv_example_menu_4() 49 main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_4() 54 lv_menu_set_load_page_event(menu, cont, sub_page); in lv_example_menu_4() 56 lv_menu_set_page(menu, main_page); in lv_example_menu_4() [all …]
|
D | lv_example_menu_1.py | 2 menu = lv.menu(lv.scr_act()) variable 3 menu.set_size(320, 240) 4 menu.center() 7 sub_page = lv.menu_page(menu, None) 13 main_page = lv.menu_page(menu, None) 26 menu.set_load_page_event(cont, sub_page) 28 menu.set_page(main_page)
|
D | lv_example_menu_4.py | 7 sub_page = lv.menu_page(menu, None) 16 menu.set_load_page_event(cont, sub_page) 19 menu = lv.menu(lv.scr_act()) variable 20 menu.set_size(320, 240) 21 menu.center() 24 sub_page = lv.menu_page(menu, None) 31 main_page = lv.menu_page(menu, None) 36 menu.set_load_page_event(cont, sub_page) 38 menu.set_page(main_page)
|
D | lv_example_menu_1.c | 7 lv_obj_t * menu = lv_menu_create(lv_scr_act()); in lv_example_menu_1() local 8 lv_obj_set_size(menu, lv_disp_get_hor_res(NULL), lv_disp_get_ver_res(NULL)); in lv_example_menu_1() 9 lv_obj_center(menu); in lv_example_menu_1() 15 lv_obj_t * sub_page = lv_menu_page_create(menu, NULL); in lv_example_menu_1() 22 lv_obj_t * main_page = lv_menu_page_create(menu, NULL); in lv_example_menu_1() 35 lv_menu_set_load_page_event(menu, cont, sub_page); in lv_example_menu_1() 37 lv_menu_set_page(menu, main_page); in lv_example_menu_1()
|
D | index.rst | 5 .. lv_example:: widgets/menu/lv_example_menu_1 11 .. lv_example:: widgets/menu/lv_example_menu_2 17 .. lv_example:: widgets/menu/lv_example_menu_3 20 Simple Menu with floating btn to add new menu page 23 .. lv_example:: widgets/menu/lv_example_menu_4 29 .. lv_example:: widgets/menu/lv_example_menu_5
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | menu.md | 4 The menu widget can be used to easily create multi-level menus. It handles the traversal between pa… 7 The menu widget is built from the following objects: 21 ### Create a menu 22 `lv_menu_create(parent)` creates a new empty menu. 30 You can set header modes with `lv_menu_set_mode_header(menu, LV_MENU_HEADER...)`. 37 You can set root back button modes with `lv_menu_set_mode_root_back_btn(menu, LV_MENU_ROOT_BACK_BTN… 39 ### Create a menu page 40 `lv_menu_page_create(menu, title)` creates a new empty menu page. 43 ### Set a menu page in the main area 44 Once a menu page has been created, you can set it to the main area with `lv_menu_set_page(menu, pag… [all …]
|
D | index.md | 16 menu
|
/lvgl-3.7.0/ |
D | Kconfig | 4 menu "LVGL configuration" 16 menu "Color settings" 47 Can be used if the UI is above another layer, e.g. an OSD menu or video player. 70 menu "Memory settings" 102 menu "HAL Settings" 129 menu "Feature configuration" 131 menu "Drawing" 215 menu "GPU" 285 menu "Logging" 365 menu "Asserts" [all …]
|
/lvgl-3.7.0/docs/get-started/platforms/ |
D | espressif.md | 48 When you are ready to configure LVGL, launch the configuration menu with `idf.py menuconfig` in you…
|
D | pc-simulator.md | 96 Now you are ready to run LVGL on your PC. Click on the Hammer Icon on the top menu bar to Build the… 98 After a successful build, click on the Play button on the top menu bar to run the project. Now a wi…
|
/lvgl-3.7.0/docs/overview/ |
D | layer.md | 51 …sed by the user to create some content visible everywhere. For example, a menu bar, a pop-up, etc.…
|
D | display.md | 63 …ate for example OSD menus where a video is played on a lower layer, and a menu is overlayed on an … 68 In summary, to enable transparent screens and displays for OSD menu-like UIs:
|
/lvgl-3.7.0/docs/get-started/os/ |
D | rt-thread.md | 48 …ory. Open the RT-Thread Studio and select `File -> Import`. In the Import menu, please select `RT-…
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 178 - fix(menu): prevent setting the current page again [`4136`](https://github.com/lvgl/lvgl/pull/4136) 399 - feat(menu): make menu widget more compatible with encoder [`3061`](https://github.com/lvgl/lvgl/p… 462 - fix(menu): use LV_ASSERT_MALLOC check for new_node [`3263`](https://github.com/lvgl/lvgl/pull/326… 497 - fix(Kconfig): move LV_USE_IMGFONT to others menu [`3176`](https://github.com/lvgl/lvgl/pull/3176) 500 - fix(menu): fix crash on delete [`3154`](https://github.com/lvgl/lvgl/pull/3154) 578 - fix(menu): fix crash on delete (#3154) [`a6c4c13`](https://github.com/lvgl/lvgl/commit/a6c4c13490… 689 - feat(widgets): add menu widget [`2603`](https://github.com/littlevgl/lvgl/pull/2603) 1360 - docs(README) update links, examples, and add services menu [`3471bd1`](https://github.com/lvgl/lv…
|
/lvgl-3.7.0/scripts/ |
D | Doxyfile | 1398 # install this plugin and make it available under the help contents menu in
|