/lvgl-latest/scripts/ |
D | changelog-template.hbs | 8 {{#commit-list merges heading='' message='BREAKING CHANGE'}} 10 {{/commit-list}} 11 {{#commit-list commits heading='' message='BREAKING CHANGE'}} 13 {{/commit-list}} 14 {{#commit-list fixes heading='' message='BREAKING CHANGE'}} 16 {{/commit-list}} 21 {{#commit-list merges heading='' message='^arch' exclude='BREAKING CHANGE'}} 23 {{/commit-list}} 24 {{#commit-list commits heading='' message='^arch' exclude='BREAKING CHANGE'}} 26 {{/commit-list}} [all …]
|
/lvgl-latest/src/misc/ |
D | lv_event.c | 31 static void cleanup_event_list(lv_event_list_t * list); 34 static void event_mark_deleting(lv_event_list_t * list, lv_event_dsc_t * dsc); 36 static uint32_t event_array_size(lv_event_list_t * list); 37 static lv_event_dsc_t ** event_array_at(lv_event_list_t * list, uint32_t index); 72 lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess) in lv_event_send() argument 74 if(list == NULL) return LV_RESULT_OK; in lv_event_send() 81 lv_array_t back_array_head = list->array; in lv_event_send() 84 const bool is_traversing = list->is_traversing; in lv_event_send() 85 list->is_traversing = true; in lv_event_send() 88 const uint32_t size = event_array_size(list); in lv_event_send() [all …]
|
D | lv_ll.h | 161 #define LV_LL_READ(list, i) for(i = lv_ll_get_head(list); i != NULL; i = lv_ll_get_next(list, i)) argument 163 #define LV_LL_READ_BACK(list, i) for(i = lv_ll_get_tail(list); i != NULL; i = lv_ll_get_prev(list, … argument
|
D | lv_event.h | 133 lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess); 135 lv_event_dsc_t * lv_event_add(lv_event_list_t * list, lv_event_cb_t cb, lv_event_code_t filter, voi… 136 bool lv_event_remove_dsc(lv_event_list_t * list, lv_event_dsc_t * dsc); 138 uint32_t lv_event_get_count(lv_event_list_t * list); 140 lv_event_dsc_t * lv_event_get_dsc(lv_event_list_t * list, uint32_t index); 146 bool lv_event_remove(lv_event_list_t * list, uint32_t index); 148 void lv_event_remove_all(lv_event_list_t * list);
|
/lvgl-latest/demos/scroll/ |
D | lv_demo_scroll.c | 29 static lv_obj_t * list; variable 51 list = lv_list_create(panel); in lv_demo_scroll() 52 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image1.png"); in lv_demo_scroll() 53 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image2.png"); in lv_demo_scroll() 54 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image3.png"); in lv_demo_scroll() 55 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image4.png"); in lv_demo_scroll() 56 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image5.png"); in lv_demo_scroll() 57 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image6.png"); in lv_demo_scroll() 58 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image7.png"); in lv_demo_scroll() 59 lv_list_add_button(list, LV_SYMBOL_IMAGE, "Image8.png"); in lv_demo_scroll() [all …]
|
/lvgl-latest/examples/widgets/tileview/ |
D | lv_example_tileview_1.c | 32 lv_obj_t * list = lv_list_create(tile3); in lv_example_tileview_1() local 33 lv_obj_set_size(list, LV_PCT(100), LV_PCT(100)); in lv_example_tileview_1() 35 lv_list_add_button(list, NULL, "One"); in lv_example_tileview_1() 36 lv_list_add_button(list, NULL, "Two"); in lv_example_tileview_1() 37 lv_list_add_button(list, NULL, "Three"); in lv_example_tileview_1() 38 lv_list_add_button(list, NULL, "Four"); in lv_example_tileview_1() 39 lv_list_add_button(list, NULL, "Five"); in lv_example_tileview_1() 40 lv_list_add_button(list, NULL, "Six"); in lv_example_tileview_1() 41 lv_list_add_button(list, NULL, "Seven"); in lv_example_tileview_1() 42 lv_list_add_button(list, NULL, "Eight"); in lv_example_tileview_1() [all …]
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_list.c | 7 static lv_obj_t * list; variable 11 list = lv_list_create(lv_screen_active()); in setUp() 22 lv_obj_t * button_ok = lv_list_add_button(list, LV_SYMBOL_OK, message); in test_list_get_text_from_added_button() 24 TEST_ASSERT_EQUAL_STRING(message, lv_list_get_button_text(list, button_ok)); in test_list_get_text_from_added_button() 30 lv_obj_t * button_ok = lv_list_add_button(list, NULL, message); in test_list_get_text_from_button_without_symbol() 32 TEST_ASSERT_EQUAL_STRING(message, lv_list_get_button_text(list, button_ok)); in test_list_get_text_from_button_without_symbol() 38 lv_obj_t * button_ok = lv_list_add_button(list, NULL, NULL); in test_list_gets_empty_text_from_button_without_text() 40 TEST_ASSERT_EQUAL_STRING(empty_text, lv_list_get_button_text(list, button_ok)); in test_list_gets_empty_text_from_button_without_text() 46 lv_obj_t * label = lv_list_add_text(list, message); in test_list_get_text_from_label()
|
/lvgl-latest/examples/others/gridnav/ |
D | lv_example_gridnav_4.c | 7 lv_obj_t * list = lv_obj_get_parent(obj); in event_handler() local 8 LV_UNUSED(list); /*If logging is disabled*/ in event_handler() 9 LV_LOG_USER("Clicked: %s", lv_list_get_button_text(list, obj)); in event_handler() 20 lv_obj_t * list = lv_list_create(lv_screen_active()); in lv_example_gridnav_4() local 21 lv_gridnav_add(list, LV_GRIDNAV_CTRL_ROLLOVER); in lv_example_gridnav_4() 22 lv_obj_align(list, LV_ALIGN_LEFT_MID, 10, 0); in lv_example_gridnav_4() 23 lv_group_add_obj(lv_group_get_default(), list); in lv_example_gridnav_4() 32 lv_list_add_text(list, buf); in lv_example_gridnav_4() 36 lv_obj_t * item = lv_list_add_button(list, LV_SYMBOL_FILE, buf); in lv_example_gridnav_4()
|
D | index.rst | 8 Grid navigation on a list 20 Simple navigation on a list widget
|
/lvgl-latest/examples/scroll/ |
D | lv_example_scroll_3.c | 12 lv_obj_t * list = lv_event_get_user_data(e); in float_button_event_cb() local 15 lv_obj_t * list_btn = lv_list_add_button(list, LV_SYMBOL_AUDIO, buf); in float_button_event_cb() 29 lv_obj_t * list = lv_list_create(lv_screen_active()); in lv_example_scroll_3() local 30 lv_obj_set_size(list, 280, 220); in lv_example_scroll_3() 31 lv_obj_center(list); in lv_example_scroll_3() 36 lv_list_add_button(list, LV_SYMBOL_AUDIO, buf); in lv_example_scroll_3() 39 lv_obj_t * float_btn = lv_button_create(list); in lv_example_scroll_3() 42 …lv_obj_align(float_btn, LV_ALIGN_BOTTOM_RIGHT, 0, -lv_obj_get_style_pad_right(list, LV_PART_MAIN)); in lv_example_scroll_3() 43 lv_obj_add_event_cb(float_btn, float_button_event_cb, LV_EVENT_ALL, list); in lv_example_scroll_3()
|
D | lv_example_scroll_2.c | 10 lv_obj_t * list = lv_event_get_user_data(e); in sw_event_cb() local 12 if(lv_obj_has_state(sw, LV_STATE_CHECKED)) lv_obj_add_flag(list, LV_OBJ_FLAG_SCROLL_ONE); in sw_event_cb() 13 else lv_obj_remove_flag(list, LV_OBJ_FLAG_SCROLL_ONE); in sw_event_cb()
|
/lvgl-latest/docs/details/widgets/ |
D | dropdown.rst | 10 The Drop-Down List allows the user to select a value from a list. 13 predefined text. When activated (by click on the Drop-Down List), a list 15 selects a new value, the list is deleted again. 17 The Drop-down list is added to the default group (if one is set). 18 The Drop-down list is an editable Widget allowing list-item selection via 27 The Drop-Down List Widget is built from the elements: "button" and "list" 43 - :cpp:enumerator:`LV_PART_MAIN` The list itself; uses the :ref:`typical background 45 height of the list. 53 The list is shown/hidden on open/close. To add styles to it use 54 :cpp:expr:`lv_dropdown_get_list(dropdown)` to get the list object. Example: [all …]
|
D | roller.rst | 11 Roller allows the end user to select an item from a list by scrolling it. 26 - Style ``text_line_space`` adjusts the space between list items. 45 Setting the list items 57 where *id* is the zero-based index of the list item to be selected. 61 where *str* is the string equal to one of the list items. 86 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when a new list item is selected.
|
/lvgl-latest/src/widgets/list/ |
D | lv_list.c | 75 lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt) in lv_list_add_text() argument 79 lv_obj_t * obj = lv_obj_class_create_obj(MY_CLASS_TEXT, list); in lv_list_add_text() 85 lv_obj_t * lv_list_add_button(lv_obj_t * list, const void * icon, const char * txt) in lv_list_add_button() argument 88 lv_obj_t * obj = lv_obj_class_create_obj(MY_CLASS_BUTTON, list); in lv_list_add_button() 109 const char * lv_list_get_button_text(lv_obj_t * list, lv_obj_t * btn) in lv_list_get_button_text() argument 111 LV_UNUSED(list); in lv_list_get_button_text() 124 void lv_list_set_button_text(lv_obj_t * list, lv_obj_t * btn, const char * txt) in lv_list_set_button_text() argument 126 LV_UNUSED(list); in lv_list_set_button_text()
|
D | lv_list.h | 48 lv_obj_t * lv_list_add_text(lv_obj_t * list, const char * txt); 57 lv_obj_t * lv_list_add_button(lv_obj_t * list, const void * icon, const char * txt); 65 const char * lv_list_get_button_text(lv_obj_t * list, lv_obj_t * btn); 73 void lv_list_set_button_text(lv_obj_t * list, lv_obj_t * btn, const char * txt);
|
/lvgl-latest/env_support/cmake/ |
D | esp.cmake | 25 list(APPEND DEMO_SOURCES ${DEMO_WIDGETS_SOURCES}) 29 list(APPEND DEMO_SOURCES ${DEMO_KEYPAD_AND_ENCODER_SOURCES}) 33 list(APPEND DEMO_SOURCES ${DEMO_BENCHMARK_SOURCES}) 37 list(APPEND DEMO_SOURCES ${DEMO_STRESS_SOURCES}) 41 list(APPEND DEMO_SOURCES ${DEMO_TRANSFORM_SOURCES}) 45 list(APPEND DEMO_SOURCES ${DEMO_MULTILANG_SOURCES}) 49 list(APPEND DEMO_SOURCES ${DEMO_FLEX_LAYOUT_SOURCES}) 53 list(APPEND DEMO_SOURCES ${DEMO_SCROLL_SOURCES}) 57 list(APPEND DEMO_SOURCES ${DEMO_MUSIC_SOURCES})
|
/lvgl-latest/src/widgets/dropdown/ |
D | lv_dropdown.c | 223 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_options() 252 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_options_static() 319 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_add_option() 336 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_clear_options() 349 if(dropdown->list) { in lv_dropdown_set_selected() 383 if(dropdown->list) lv_obj_invalidate(dropdown->list); in lv_dropdown_set_selected_highlight() 395 return dropdown->list; in lv_dropdown_get_list() 522 lv_obj_set_parent(dropdown->list, lv_obj_get_screen(dropdown_obj)); in lv_dropdown_open() 523 lv_obj_move_to_index(dropdown->list, -1); in lv_dropdown_open() 524 lv_obj_remove_flag(dropdown->list, LV_OBJ_FLAG_HIDDEN); in lv_dropdown_open() [all …]
|
/lvgl-latest/demos/keypad_encoder/ |
D | lv_demo_keypad_encoder.c | 127 lv_obj_t * list = lv_list_create(parent); in selectors_create() local 128 lv_obj_update_layout(list); in selectors_create() 129 if(lv_obj_get_height(list) > lv_obj_get_content_height(parent)) { in selectors_create() 130 lv_obj_set_height(list, lv_obj_get_content_height(parent)); in selectors_create() 133 lv_list_add_button(list, LV_SYMBOL_OK, "Apply"); in selectors_create() 134 lv_list_add_button(list, LV_SYMBOL_CLOSE, "Close"); in selectors_create() 135 lv_list_add_button(list, LV_SYMBOL_EYE_OPEN, "Show"); in selectors_create() 136 lv_list_add_button(list, LV_SYMBOL_EYE_CLOSE, "Hide"); in selectors_create() 137 lv_list_add_button(list, LV_SYMBOL_TRASH, "Delete"); in selectors_create() 138 lv_list_add_button(list, LV_SYMBOL_COPY, "Copy"); in selectors_create() [all …]
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_list.c | 32 static lv_obj_t * list; variable 132 list = lv_obj_create(parent); in lv_demo_music_list_create() 133 lv_obj_add_event_cb(list, list_delete_event_cb, LV_EVENT_DELETE, NULL); in lv_demo_music_list_create() 134 lv_obj_remove_style_all(list); in lv_demo_music_list_create() 135 lv_obj_set_size(list, LV_HOR_RES, LV_VER_RES - LV_DEMO_MUSIC_HANDLE_SIZE); in lv_demo_music_list_create() 136 lv_obj_set_y(list, LV_DEMO_MUSIC_HANDLE_SIZE); in lv_demo_music_list_create() 137 lv_obj_add_style(list, &style_scrollbar, LV_PART_SCROLLBAR); in lv_demo_music_list_create() 138 lv_obj_set_flex_flow(list, LV_FLEX_FLOW_COLUMN); in lv_demo_music_list_create() 142 add_list_button(list, track_id); in lv_demo_music_list_create() 146 lv_obj_set_scroll_snap_y(list, LV_SCROLL_SNAP_CENTER); in lv_demo_music_list_create() [all …]
|
D | lv_demo_music.c | 38 static lv_obj_t * list; variable 121 list = lv_demo_music_list_create(lv_screen_active()); in lv_demo_music() 198 lv_obj_scroll_by(list, 0, -300, LV_ANIM_ON); in auto_step_cb() 201 lv_obj_scroll_by(list, 0, 300, LV_ANIM_ON); in auto_step_cb()
|
/lvgl-latest/demos/ebike/ |
D | lv_demo_ebike_settings.c | 189 lv_obj_t * list = lv_dropdown_get_list(dd); in dropdown_create() local 190 lv_obj_set_style_bg_color(list, lv_color_black(), 0); in dropdown_create() 191 lv_obj_set_style_bg_opa(list, LV_OPA_COVER, 0); in dropdown_create() 192 lv_obj_set_style_bg_color(list, EBIKE_COLOR_TURQUOISE, LV_PART_SELECTED | LV_STATE_CHECKED); in dropdown_create() 193 lv_obj_set_style_bg_opa(list, LV_OPA_20, LV_PART_SELECTED | LV_STATE_CHECKED); in dropdown_create() 194 lv_obj_set_style_bg_color(list, EBIKE_COLOR_TURQUOISE, LV_PART_SELECTED | LV_STATE_PRESSED); in dropdown_create() 195 lv_obj_set_style_bg_opa(list, LV_OPA_40, LV_PART_SELECTED | LV_STATE_PRESSED); in dropdown_create() 196 lv_obj_set_style_radius(list, 4, 0); in dropdown_create() 197 lv_obj_set_style_text_line_space(list, 16, 0); in dropdown_create() 198 lv_obj_set_style_text_font(list, EBIKE_FONT_SMALL, 0); in dropdown_create() [all …]
|
/lvgl-latest/src/libs/svg/ |
D | lv_svg_parser.c | 809 …lv_svg_attr_values_list_t * list = lv_malloc(sizeof(lv_svg_point_t) * list_cap + sizeof(uint32_t)); in _process_points_value() local 810 LV_ASSERT_MALLOC(list); in _process_points_value() 819 …list = (lv_svg_attr_values_list_t *)lv_realloc(list, sizeof(lv_svg_point_t) * list_cap + sizeof(ui… in _process_points_value() 820 LV_ASSERT_MALLOC(list); in _process_points_value() 822 lv_svg_point_t * pt = (lv_svg_point_t *)(&list->data) + point_cnt; in _process_points_value() 833 list->length = point_cnt; in _process_points_value() 834 attr->value.val = list; in _process_points_value() 911 lv_svg_attr_values_list_t * list = lv_malloc(list_size); in _process_path_value() local 912 LV_ASSERT_MALLOC(list); in _process_path_value() 922 uint8_t * data_ptr = (uint8_t *)(&list->data); in _process_path_value() [all …]
|
/lvgl-latest/env_support/pikascript/ |
D | pika_lv_point_t.c | 13 args_setStruct(self->list, "lv_point_struct", lv_point); in pika_lvgl_point_t___init__() 14 obj_setPtr(self, "lv_point", args_getStruct(self->list, "lv_point_struct")); in pika_lvgl_point_t___init__()
|
/lvgl-latest/examples/widgets/list/ |
D | index.rst | 5 .. lv_example:: widgets/list/lv_example_list_1 12 .. lv_example:: widgets/list/lv_example_list_2
|
/lvgl-latest/docs/details/main-components/ |
D | draw.rst | 56 :next: a link to the next drawing task in the list. 58 Draw Tasks are collected in a list and periodically dispatched to Draw Units. 71 During LVGL's initialization (:cpp:func:`lv_init`), a list of Draw Units is created. 73 Software Drawing Unit enters itself at the head of that list. If your platform has 75 they are added to this list during LVGL's initialization. If you are adding your own 76 Draw Unit(s), you add each available drawing unit to that list by calling 78 function, the newly-created draw unit is added to the head of that list, pushing 79 already-existing draw units further back in the list, making the earliest Draw Unit 80 created last in the list. The order of this list (and thus the order in which 84 Building this list (and initializing the Draw Units) is normally handled automatically [all …]
|