2018-01-16 22:35:55 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig GRAPHICS_LVGL
|
|
|
|
bool "Littlev Graphic Library (LVGL)"
|
|
|
|
default n
|
|
|
|
---help---
|
2020-02-23 05:51:44 +01:00
|
|
|
Enable support for the LVGL GUI library.
|
2018-01-16 22:35:55 +01:00
|
|
|
|
|
|
|
if GRAPHICS_LVGL
|
|
|
|
|
|
|
|
config LV_MEM_SIZE
|
|
|
|
int "Heap size of the graphics library"
|
|
|
|
default 32768
|
|
|
|
---help---
|
2018-07-19 15:55:31 +02:00
|
|
|
The size of a memory pool where the grapohisc library
|
|
|
|
dynamically allocates data
|
2018-01-16 22:35:55 +01:00
|
|
|
|
2020-05-06 12:37:48 +02:00
|
|
|
config LV_USE_USER_DATA
|
|
|
|
bool "Use user data in driver and objects"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Add a `user_data` to drivers and objects
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
menu "Graphics settings"
|
|
|
|
|
|
|
|
config LV_HOR_RES
|
|
|
|
int "Horizontal resolution."
|
|
|
|
default 320
|
|
|
|
---help---
|
|
|
|
Number of pixels in horizontally.
|
|
|
|
|
|
|
|
config LV_VER_RES
|
|
|
|
int "Vertical resolution."
|
|
|
|
default 240
|
|
|
|
---help---
|
|
|
|
Number of pixels vertically. Double it if anti aliasing is used
|
|
|
|
|
|
|
|
config LV_DPI
|
|
|
|
int "DPI (px/inch)"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
Number of pixels in 1 inch
|
|
|
|
|
|
|
|
config LV_VDB_SIZE
|
|
|
|
int "Size of the internal graphics buffer (VDB) (0: no buffering)"
|
|
|
|
default 10240
|
|
|
|
|
|
|
|
if LV_VDB_SIZE != 0
|
|
|
|
|
|
|
|
config LV_VDB_ADR
|
|
|
|
int "Internal buffer's (VDB) memory address. 0: allocate automatically"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
You can place the graphics buffer int a specific memory location.
|
|
|
|
E.g. into a mapped external RAM
|
|
|
|
Zero to allocate automatically into the RAM
|
|
|
|
Note: it's slower to access the data from a external memory
|
|
|
|
|
|
|
|
config LV_VDB_DOUBLE
|
|
|
|
bool "Use 2 internal buffers. One to render and an other to flush data to frame buffer in background"
|
|
|
|
default n
|
|
|
|
---help---
|
2018-07-19 15:55:31 +02:00
|
|
|
Enable to use one buffer for rendering an other to flush the
|
|
|
|
ready content to the frame buffer.
|
2020-02-23 05:51:44 +01:00
|
|
|
The flushing should be done by a hardware module (e.g. DMA) to
|
2018-07-19 15:55:31 +02:00
|
|
|
make rendering and flushing parallel
|
2018-01-16 22:35:55 +01:00
|
|
|
|
|
|
|
if LV_VDB_DOUBLE
|
|
|
|
|
|
|
|
config LV_VDB2_ADR
|
|
|
|
int "Second internal buffer's (VDB) memory address. 0: allocate automatically"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Similarly to LV_VDB_ADR. the second VDB address can be specified as well.
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
config LV_VDB_TRUE_DOUBLE_BUFFERED
|
|
|
|
bool "Use true double buffering"
|
|
|
|
default 0
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
endif # LV_VDB_DOUBLE
|
2018-07-19 15:55:31 +02:00
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config LV_ANTIALIAS
|
|
|
|
bool "Anti aliasing of the screen"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # LV_VDB_SIZE != 0
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_DISP_DEF_REFR_PERIOD
|
|
|
|
int "Default refresh period in milliseconds"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 50
|
|
|
|
---help---
|
2018-07-19 15:55:31 +02:00
|
|
|
The graphics library will check for invalid areas an refresh
|
|
|
|
them with this period time
|
2018-01-16 22:35:55 +01:00
|
|
|
|
|
|
|
config LV_INV_FIFO_SIZE
|
|
|
|
int "Average number of object on the screen"
|
|
|
|
default 32
|
|
|
|
---help---
|
2018-07-19 15:55:31 +02:00
|
|
|
If too much area is invalidated (greater then this number) then
|
|
|
|
the whole screen will be refreshed
|
2018-01-16 22:35:55 +01:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Input device settings"
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_INDEV_DEF_READ_PERIOD
|
|
|
|
int "Input device default read period in milliseconds"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 50
|
|
|
|
|
|
|
|
config LV_INDEV_POINT_MARKER
|
|
|
|
int "Mark the pressed points on the screen"
|
|
|
|
default 0
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_INDEV_DEF_DRAG_LIMIT
|
|
|
|
int "Default drag limit in pixels"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 10
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_INDEV_DEF_DRAG_THROW
|
|
|
|
int "Default slow down ration when throwing on object by drag [%]"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 20
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_INDEV_DEF_LONG_PRESS_TIME
|
|
|
|
int "Default long press time [ms]"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 400
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_INDEV_DEF_LONG_PRESS_REP_TIME
|
|
|
|
int "Default repeated trigger period in long press [ms]"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 100
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Color settings"
|
|
|
|
|
|
|
|
config LV_COLOR_DEPTH
|
2020-04-15 08:57:10 +02:00
|
|
|
int "Color depth (8/16/32)"
|
2018-01-16 22:35:55 +01:00
|
|
|
default 16
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_COLOR_16_SWAP
|
|
|
|
bool "Swap the 2 bytes of RGB565 color"
|
|
|
|
depends on LV_COLOR_DEPTH = 16
|
|
|
|
default 0
|
|
|
|
|
|
|
|
config LV_COLOR_SCREEN_TRANSP
|
2020-04-15 08:57:10 +02:00
|
|
|
bool "Enable screen transparency.(If disabled, 32-bit color depth fall to 24-bit)"
|
2019-04-08 14:57:42 +02:00
|
|
|
default 0
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config LV_COLOR_TRANSP
|
|
|
|
hex "Chroma key color (pixels with this color will be transparent on images)"
|
|
|
|
default 0x00ff00
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Text (font) settings"
|
|
|
|
|
|
|
|
config LV_TXT_UTF8
|
|
|
|
bool "Unicode support"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_TXT_BREAK_CHARS
|
|
|
|
string "Characters where the words/line cab be wrapped"
|
|
|
|
default " ,.;:-_"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Feature usage"
|
|
|
|
config USE_LV_ANIMATION
|
|
|
|
bool "Enable animations"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_SHADOW
|
|
|
|
bool "Enable shadows"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_GROUP
|
|
|
|
bool "Enable object groups (for keyboard)"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_GPU
|
|
|
|
bool "Enable GPU (hardware acceleration) API"
|
|
|
|
default y
|
|
|
|
|
2018-07-19 15:55:31 +02:00
|
|
|
config USE_LV_REAL_DRAW
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Enable function which draws directly to the frame buffer instead of VDB"
|
2018-07-19 15:55:31 +02:00
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_FILESYSTEM
|
|
|
|
bool "Enable filesystem (required for images, lv_img)"
|
|
|
|
default y
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
config USE_LV_MULTI_LANG
|
|
|
|
int "Number of languages for labels to store (0 to disable)"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Log usage"
|
|
|
|
|
2020-05-06 12:37:48 +02:00
|
|
|
config LV_USE_LOG
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Enable/disable the log module"
|
|
|
|
default n
|
|
|
|
|
2020-01-31 15:13:45 +01:00
|
|
|
choice
|
2019-04-08 14:57:42 +02:00
|
|
|
prompt "Log level"
|
2020-05-06 12:37:48 +02:00
|
|
|
depends on LV_USE_LOG
|
|
|
|
default LV_LOG_LEVEL_WARN
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
config LV_LOG_LEVEL_TRACE
|
|
|
|
bool "Trace"
|
|
|
|
|
|
|
|
config LV_LOG_LEVEL_INFO
|
|
|
|
bool "Info"
|
|
|
|
|
|
|
|
config LV_LOG_LEVEL_WARN
|
|
|
|
bool "Warn"
|
|
|
|
|
|
|
|
config LV_LOG_LEVEL_ERROR
|
|
|
|
bool "Error"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LV_LOG_PRINTF
|
|
|
|
bool "Use printf() for logging"
|
2020-05-06 12:37:48 +02:00
|
|
|
depends on LV_USE_LOG
|
2019-04-08 14:57:42 +02:00
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
endmenu
|
|
|
|
|
2020-05-06 12:37:48 +02:00
|
|
|
menu "Debug usage"
|
|
|
|
|
|
|
|
config LV_USE_DEBUG
|
|
|
|
bool "Enable/disable the debug module"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_USE_ASSERT_NULL
|
|
|
|
bool "Check if the parameter is NULL"
|
|
|
|
depends on LV_USE_DEBUG
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_USE_ASSERT_MEM
|
|
|
|
bool "Checks is the memory is successfully allocated or no"
|
|
|
|
depends on LV_USE_DEBUG
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_USE_ASSERT_STR
|
|
|
|
bool "Check the strings"
|
|
|
|
depends on LV_USE_DEBUG
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_USE_ASSERT_OBJ
|
|
|
|
bool "Check object's type and existence"
|
|
|
|
depends on LV_USE_DEBUG
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LV_USE_ASSERT_STYLE
|
|
|
|
bool "Check if the styles are properly initialized"
|
|
|
|
depends on LV_USE_DEBUG
|
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
menu "Theme usage"
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_THEME_LIVE_UPDATE
|
|
|
|
bool "Allow theme switching at run time. Uses 8..10 kB of RAM"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_TEMPL
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Use Template theme: just for test"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_DEFAULT
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Use Default theme: uses the built-in style"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_ALIEN
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Use Alien theme: dark futuristic theme"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_NIGHT
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Use Night theme: dark elegant theme"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_MONO
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Use Mono theme: mono color theme"
|
|
|
|
default n
|
2020-01-31 15:13:45 +01:00
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_MATERIAL
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Use Material theme: material theme with bold colors"
|
2018-01-16 22:35:55 +01:00
|
|
|
default n
|
2020-01-31 15:13:45 +01:00
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_ZEN
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Use Zen theme: light, peaceful theme"
|
|
|
|
default n
|
|
|
|
|
2020-04-08 11:04:20 +02:00
|
|
|
config LV_USE_THEME_NEMO
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Use Nemo theme: Water-like theme based on the movie 'Finding Nemo'"
|
2018-01-16 22:35:55 +01:00
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Font usage"
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config USE_LV_FONT_ROBOTO_12
|
|
|
|
bool "Roboto 12 px"
|
|
|
|
default n
|
2018-01-16 22:35:55 +01:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config USE_LV_FONT_ROBOTO_16
|
|
|
|
bool "Roboto 16 px"
|
|
|
|
default y
|
2018-01-16 22:35:55 +01:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config USE_LV_FONT_ROBOTO_22
|
|
|
|
bool "Roboto 22 px"
|
|
|
|
default n
|
2018-01-16 22:35:55 +01:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config USE_LV_FONT_ROBOTO_28
|
|
|
|
bool "Roboto 28 px"
|
|
|
|
default n
|
2018-01-16 22:35:55 +01:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config USE_LV_FONT_UNSCII_8
|
|
|
|
bool "Monospace 8 px"
|
|
|
|
default n
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Default Font"
|
2020-04-03 13:21:31 +02:00
|
|
|
default LV_FONT_DEFAULT_ROBOTO_16
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_FONT_DEFAULT_ROBOTO_12
|
|
|
|
bool "Roboto 12 px"
|
|
|
|
depends on USE_LV_FONT_ROBOTO_12 != 0
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_FONT_DEFAULT_ROBOTO_16
|
|
|
|
bool "Roboto 16 px"
|
|
|
|
depends on USE_LV_FONT_ROBOTO_16 != 0
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_FONT_DEFAULT_ROBOTO_22
|
|
|
|
bool "Roboto 22 px"
|
|
|
|
depends on USE_LV_FONT_ROBOTO_22 != 0
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_FONT_DEFAULT_ROBOTO_28
|
|
|
|
bool "Roboto 28 px"
|
|
|
|
depends on USE_LV_FONT_ROBOTO_28 != 0
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_FONT_DEFAULT_UNSCII_8
|
2019-04-08 14:57:42 +02:00
|
|
|
bool "Monospace 8 px"
|
2020-04-03 13:21:31 +02:00
|
|
|
depends on USE_LV_FONT_UNSCII_8 != 0
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Base object settings"
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_OBJ_REALIGN
|
|
|
|
bool "Enable `lv_obj_realaign()` based on `lv_obj_align()` parameters"
|
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Object type usage settings"
|
|
|
|
|
|
|
|
config USE_LV_LABEL
|
|
|
|
bool "Label usage"
|
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_LABEL_SCROLL_SPEED
|
|
|
|
int "Hor, or ver. scroll speed [px/sec] in 'LV_LABEL_LONG_SCROLL/ROLL' mode"
|
|
|
|
depends on USE_LV_LABEL
|
|
|
|
default 25
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_IMG
|
|
|
|
bool "Image usage"
|
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_IMG_CF_INDEXED
|
|
|
|
bool "Enable indexed (palette) images"
|
|
|
|
depends on USE_LV_IMG
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LV_IMG_CF_ALPHA
|
|
|
|
bool "Enable alpha indexed images"
|
|
|
|
depends on USE_LV_IMG
|
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_LINE
|
|
|
|
bool "Line usage"
|
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config USE_LV_ARC
|
|
|
|
bool "Arc usage"
|
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_CONT
|
|
|
|
bool "Container usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_PAGE
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_CONT
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Page usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_WIN
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_PAGE && USE_LV_LABEL && USE_LV_IMG && USE_LV_BTN
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Window usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_TABVIEW
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_PAGE && USE_LV_BTNM
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Tabview usage"
|
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_TABVIEW_ANIM_TIME
|
|
|
|
int "Time of slide animation [ms] (0: no animation)"
|
|
|
|
depends on USE_LV_TABVIEW
|
|
|
|
default 300
|
|
|
|
|
|
|
|
config USE_LV_TILEVIEW
|
|
|
|
depends on USE_LV_CONT && USE_LV_PAGE
|
|
|
|
bool "Tileview usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LV_TILEVIEW_ANIM_TIME
|
|
|
|
int "Time of slide animation [ms] (0: no animation)"
|
|
|
|
depends on USE_LV_TILEVIEW
|
|
|
|
default 300
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_BAR
|
|
|
|
bool "Bar usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_LMETER
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BAR
|
2018-01-16 22:35:55 +01:00
|
|
|
bool "Line meter usage"
|
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config USE_LV_GAUGE
|
|
|
|
depends on USE_LV_BAR && USE_LV_LMETER
|
|
|
|
bool "Gauge usage"
|
|
|
|
default y
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_CHART
|
|
|
|
bool "Chart usage"
|
|
|
|
default y
|
|
|
|
|
2020-04-03 13:21:31 +02:00
|
|
|
config LV_CHART_AXIS_TICK_LABEL_MAX_LEN
|
|
|
|
depends on USE_LV_CHART
|
|
|
|
int "Chart axis tick label max length"
|
|
|
|
default 20
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config USE_LV_TABLE
|
|
|
|
bool "Table usage"
|
|
|
|
depends on USE_LV_LABEL
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LV_TABLE_COL_MAX
|
|
|
|
int "Maximum number of table columns"
|
|
|
|
depends on USE_LV_TABLE
|
|
|
|
default 12
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_LED
|
|
|
|
bool "LED usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_MBOX
|
|
|
|
bool "Messagebox usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BTNM && USE_LV_LABEL
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_TA
|
|
|
|
bool "Text area usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_LABEL && USE_LV_PAGE
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config USE_LV_SPINBOX
|
|
|
|
bool "Spinbox usage"
|
|
|
|
depends on USE_LV_TA
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_CALENDAR
|
|
|
|
bool "Calendar usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_PRELOAD
|
|
|
|
bool "Preload usage"
|
|
|
|
depends on USE_LV_ARC
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LV_PRELOAD_DEF_ARC_LENGTH
|
|
|
|
int "Degrees of arc length (default)"
|
|
|
|
range 0 360
|
|
|
|
depends on USE_LV_PRELOAD
|
|
|
|
default 60
|
|
|
|
|
|
|
|
config LV_PRELOAD_DEF_SPIN_TIME
|
|
|
|
int "Time (ms) preload spins (default)"
|
|
|
|
depends on USE_LV_PRELOAD
|
|
|
|
default 1000
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Default preload animation"
|
|
|
|
depends on USE_LV_PRELOAD
|
|
|
|
default LV_PRELOAD_DEF_ANIM_SPINNING_ARC
|
|
|
|
|
|
|
|
config LV_PRELOAD_DEF_ANIM_SPINNING_ARC
|
|
|
|
bool "Spinning Arc"
|
|
|
|
|
|
|
|
config LV_PRELOAD_DEF_ANIM_FILLSPIN_ARC
|
2020-01-31 15:13:45 +01:00
|
|
|
bool "Fillspin Arc"
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config USE_LV_CANVAS
|
|
|
|
bool "Canvas usage"
|
|
|
|
depends on USE_LV_IMG
|
|
|
|
default n
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_BTN
|
|
|
|
bool "Button usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_CONT
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LV_BTN_INK_EFFECT
|
|
|
|
bool "Enable button-state animations"
|
|
|
|
depends on USE_LV_BTN && USE_LV_ANIMATION
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_IMGBTN
|
|
|
|
depends on USE_LV_BTN
|
|
|
|
bool "Image button usage"
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
config LV_IMGBTN_TILED
|
|
|
|
bool "Tiled image button"
|
|
|
|
depends on USE_LV_IMGBTN
|
|
|
|
---help---
|
|
|
|
The imgbtn requires left, mid and right parts and the width can be set freely
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config USE_LV_BTNM
|
|
|
|
bool "Button matrix usage"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_KB
|
|
|
|
bool "Keyboard"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BTNM
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_CB
|
|
|
|
bool "Chekbox usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BTN
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_SW
|
|
|
|
bool "Switch usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BTN
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_LIST
|
|
|
|
bool "List usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BTN && USE_LV_PAGE
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_DDLIST
|
|
|
|
bool "Drop down list usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_PAGE && USE_LV_LABEL
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_ROLLER
|
|
|
|
bool "Roller usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_DDLIST
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_LV_SLIDER
|
|
|
|
bool "Slider usage"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on USE_LV_BAR
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif # GRAPHICS_LVGL
|