feat(example/scroll): convert old scroll demo to an example (#9049)

This commit is contained in:
André Costa
2025-10-26 10:29:11 +01:00
committed by GitHub
parent 1b5b484f27
commit a909bbbd13
15 changed files with 94 additions and 39 deletions
+1 -5
View File
@@ -48,10 +48,6 @@ else()
file(GLOB_RECURSE DEMO_FLEX_LAYOUT_SOURCES ${LVGL_ROOT_DIR}/demos/flex_layout/*.c)
list(APPEND DEMO_SOURCES ${DEMO_FLEX_LAYOUT_SOURCES})
endif()
if(CONFIG_LV_USE_DEMO_SCROLL)
file(GLOB_RECURSE DEMO_SCROLL_SOURCES ${LVGL_ROOT_DIR}/demos/scroll/*.c)
list(APPEND DEMO_SOURCES ${DEMO_SCROLL_SOURCES})
endif()
if(CONFIG_LV_USE_DEMO_MUSIC)
file(GLOB_RECURSE DEMO_MUSIC_SOURCES ${LVGL_ROOT_DIR}/demos/music/*.c)
list(APPEND DEMO_SOURCES ${DEMO_MUSIC_SOURCES})
@@ -81,4 +77,4 @@ if(CONFIG_FREERTOS_SMP)
target_include_directories(${COMPONENT_LIB} PRIVATE "${IDF_PATH}/components/freertos/FreeRTOS-Kernel-SMP/include/freertos/")
else()
target_include_directories(${COMPONENT_LIB} PRIVATE "${IDF_PATH}/components/freertos/FreeRTOS-Kernel/include/freertos/")
endif()
endif()
-1
View File
@@ -53,7 +53,6 @@ remove the misleading guide above this code segment.
- LV_USE_DEMO_FLEX_LAYOUT
- LV_USE_DEMO_MULTILANG
- LV_USE_DEMO_TRANSFORM
- LV_USE_DEMO_SCROLL
- LV_USE_DEMO_VECTOR_GRAPHIC
- LV_USE_DEMO_EBIKE
- LV_USE_DEMO_HIGH_RES