lib: gui: lvgl: sort objects

LVGL objects have been alphabetically sorted. The aim of this change is
to help locating objects as well as keeping track of them.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2020-08-26 11:25:15 +02:00 committed by Maureen Helm
commit b3847e80c4

View file

@ -22,6 +22,109 @@ choice
bool "Full flexibility" bool "Full flexibility"
endchoice endchoice
config LVGL_USE_ARC
bool "Arc Object"
help
Enable arc object support
config LVGL_USE_BAR
bool "Bar object"
help
Enable bar object support
config LVGL_USE_BTN
bool "Button object"
depends on LVGL_USE_CONT
help
Enable button object support
config LVGL_USE_BTNMATRIX
bool "Button Matrix object"
help
Enable button matrix object support
config LVGL_USE_CALENDAR
bool "Calendar object"
help
Enable calendar object support
config LVGL_USE_CANVAS
bool "Canvas object"
depends on LVGL_USE_IMG
help
Enabled canvas object support
config LVGL_USE_CHART
bool "Chart object"
help
Enable chart object support
config LVGL_CHART_AXIS_TICK_LABEL_MAX_LEN
int "Maximum length of axis label"
default 256
depends on LVGL_USE_CHART
help
Maximum length of axis label
config LVGL_USE_CHECKBOX
bool "Check box object"
depends on LVGL_USE_BTN && LVGL_USE_LABEL
help
Enable check box object support
config LVGL_USE_CONT
bool "Container Object"
help
Enable container object support
config LVGL_USE_CPICKER
bool "Color picker object"
help
Enable color picker object support
config LVGL_USE_DROPDOWN
bool "Drop Down List object"
depends on LVGL_USE_LABEL && LVGL_USE_PAGE
help
Enable drop down list object support
config LVGL_DROPDOWN_DEF_ANIM_TIME
int "Drop Down list animation time"
default 200
depends on LVGL_USE_DROPDOWN
help
Drop down list animation time in milliseconds
config LVGL_USE_GAUGE
bool "Gauge object"
depends on LVGL_USE_BAR && LVGL_USE_LINEMETER
help
Enable gauge object support
config LVGL_USE_IMG
bool "Image Object"
depends on LVGL_USE_LABEL
help
Enable image object support
config LVGL_USE_IMGBTN
bool "Image Button"
depends on LVGL_USE_BTN
help
Enable image button object support
config LVGL_IMGBTN_TILED
bool "Image button tile support"
depends on LVGL_USE_IMGBTN
help
Enable tile support for image button
config LVGL_USE_KEYBOARD
bool "Keyboard object"
depends on LVGL_USE_BTNMATRIX
help
Enable keyboard object support
config LVGL_USE_LABEL config LVGL_USE_LABEL
bool "Label Object" bool "Label Object"
help help
@ -53,11 +156,10 @@ config LVGL_LABEL_LONG_TXT_HINT
endif # LVGL_USE_LABEL endif # LVGL_USE_LABEL
config LVGL_USE_IMG config LVGL_USE_LED
bool "Image Object" bool "LED object"
depends on LVGL_USE_LABEL
help help
Enable image object support Enable LED object support
if LVGL_USE_LED if LVGL_USE_LED
@ -80,15 +182,52 @@ config LVGL_USE_LINE
help help
Enable line object support Enable line object support
config LVGL_USE_ARC config LVGL_USE_LINEMETER
bool "Arc Object" bool "Line meter object"
help help
Enable arc object support Enable line meter object support
config LVGL_USE_CONT if LVGL_USE_LINEMETER
bool "Container Object"
choice
prompt "Line meter drawing precision"
default LVGL_LINEMETER_PRECISE_NO_EXTRA
config LVGL_LINEMETER_PRECISE_NO_EXTRA
bool "No extra precision"
config LVGL_LINEMETER_PRECISE_SOME_EXTRA
bool "Some extra precision"
config LVGL_LINEMETER_PRECISE_BEST
bool "Best precision"
endchoice
endif # LVGL_USE_LINEMETER
config LVGL_USE_LIST
bool "List object"
depends on LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_PAGE
help help
Enable container object support Enable list object support
config LVGL_LIST_DEF_ANIM_TIME
int "List focus default animation time"
default 100
depends on LVGL_USE_LIST
help
List focus default animation time in milliseconds
config LVGL_USE_MSGBOX
bool "Message box object"
depends on LVGL_USE_BTNMATRIX && LVGL_USE_LABEL
help
Enable message box object support
config LVGL_USE_OBJMASK
bool "Mask object"
help
Enable object mask support
config LVGL_USE_PAGE config LVGL_USE_PAGE
bool "Page object" bool "Page object"
@ -103,42 +242,39 @@ config LVGL_PAGE_DEF_ANIM_TIME
help help
Default page focus animation time in milliseconds Default page focus animation time in milliseconds
config LVGL_USE_WIN config LVGL_USE_ROLLER
bool "Window object" bool "Roller object"
depends on LVGL_USE_CONT && LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_IMG && LVGL_USE_PAGE depends on LVGL_USE_DROPDOWN
help help
Enable window object support Enable roller object support
config LVGL_USE_TABVIEW if LVGL_USE_ROLLER
bool "Tab view object"
depends on LVGL_USE_PAGE && LVGL_USE_BTNMATRIX
help
Enable tab view object support
config LVGL_TABVIEW_DEF_ANIM_TIME config LVGL_ROLLER_DEF_ANIM_TIME
int "Tab view animation time" int "Roller animation time"
default 300 default 200
depends on LVGL_USE_TABVIEW
help help
Tab view animation time in milliseconds Roller animation time in milliseconds
config LVGL_USE_TILEVIEW config LVGL_ROLLER_INF_PAGES
bool "Tile view object" int "Number of pages for infinite roller"
depends on LVGL_USE_PAGE default 7
help help
Enable tile view object support Number of extra pages in case the roller is infinite
config LVGL_TILEVIEW_DEF_ANIM_TIME endif # LVGL_USE_ROLLER
int "Tile view animation time"
default 300
depends on LVGL_USE_TILEVIEW
help
Tile view animation time in milliseconds
config LVGL_USE_CALENDAR config LVGL_USE_SLIDER
bool "Calendar object" bool "Slider object"
depends on LVGL_USE_BAR
help help
Enable calendar object support Enable slider object support
config LVGL_USE_SPINBOX
bool "Spinbox object"
depends on LVGL_USE_TEXTAREA
help
Enable spinbox object support
config LVGL_USE_SPINNER config LVGL_USE_SPINNER
bool "Spinner object" bool "Spinner object"
@ -179,58 +315,11 @@ endchoice
endif # LVGL_USE_SPINNER endif # LVGL_USE_SPINNER
config LVGL_USE_SWITCH
config LVGL_USE_CANVAS bool "Switch object"
bool "Canvas object" depends on LVGL_USE_SLIDER
depends on LVGL_USE_IMG
help help
Enabled canvas object support Enable switch object support
config LVGL_USE_BAR
bool "Bar object"
help
Enable bar object support
config LVGL_USE_LINEMETER
bool "Line meter object"
help
Enable line meter object support
if LVGL_USE_LINEMETER
choice
prompt "Line meter drawing precision"
default LVGL_LINEMETER_PRECISE_NO_EXTRA
config LVGL_LINEMETER_PRECISE_NO_EXTRA
bool "No extra precision"
config LVGL_LINEMETER_PRECISE_SOME_EXTRA
bool "Some extra precision"
config LVGL_LINEMETER_PRECISE_BEST
bool "Best precision"
endchoice
endif # LVGL_USE_LINEMETER
config LVGL_USE_GAUGE
bool "Gauge object"
depends on LVGL_USE_BAR && LVGL_USE_LINEMETER
help
Enable gauge object support
config LVGL_USE_CHART
bool "Chart object"
help
Enable chart object support
config LVGL_CHART_AXIS_TICK_LABEL_MAX_LEN
int "Maximum length of axis label"
default 256
depends on LVGL_USE_CHART
help
Maximum length of axis label
config LVGL_USE_TABLE config LVGL_USE_TABLE
bool "Table object" bool "Table object"
@ -245,16 +334,18 @@ config LVGL_TABLE_COL_MAX
help help
Maximum number of columns to support in a table Maximum number of columns to support in a table
config LVGL_USE_LED config LVGL_USE_TABVIEW
bool "LED object" bool "Tab view object"
depends on LVGL_USE_PAGE && LVGL_USE_BTNMATRIX
help help
Enable LED object support Enable tab view object support
config LVGL_USE_MSGBOX config LVGL_TABVIEW_DEF_ANIM_TIME
bool "Message box object" int "Tab view animation time"
depends on LVGL_USE_BTNMATRIX && LVGL_USE_LABEL default 300
depends on LVGL_USE_TABVIEW
help help
Enable message box object support Tab view animation time in milliseconds
config LVGL_USE_TEXTAREA config LVGL_USE_TEXTAREA
bool "Text area object" bool "Text area object"
@ -278,115 +369,23 @@ config LVGL_TA_DEF_PWD_SHOW_TIME
endif # LVGL_USE_TEXTAREA endif # LVGL_USE_TEXTAREA
config LVGL_USE_SPINBOX config LVGL_USE_TILEVIEW
bool "Spinbox object" bool "Tile view object"
depends on LVGL_USE_TEXTAREA depends on LVGL_USE_PAGE
help help
Enable spinbox object support Enable tile view object support
config LVGL_USE_BTN config LVGL_TILEVIEW_DEF_ANIM_TIME
bool "Button object" int "Tile view animation time"
depends on LVGL_USE_CONT default 300
depends on LVGL_USE_TILEVIEW
help help
Enable button object support Tile view animation time in milliseconds
config LVGL_USE_IMGBTN config LVGL_USE_WIN
bool "Image Button" bool "Window object"
depends on LVGL_USE_BTN depends on LVGL_USE_CONT && LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_IMG && LVGL_USE_PAGE
help help
Enable image button object support Enable window object support
config LVGL_IMGBTN_TILED
bool "Image button tile support"
depends on LVGL_USE_IMGBTN
help
Enable tile support for image button
config LVGL_USE_BTNMATRIX
bool "Button Matrix object"
help
Enable button matrix object support
config LVGL_USE_KEYBOARD
bool "Keyboard object"
depends on LVGL_USE_BTNMATRIX
help
Enable keyboard object support
config LVGL_USE_CHECKBOX
bool "Check box object"
depends on LVGL_USE_BTN && LVGL_USE_LABEL
help
Enable check box object support
config LVGL_USE_LIST
bool "List object"
depends on LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_PAGE
help
Enable list object support
config LVGL_LIST_DEF_ANIM_TIME
int "List focus default animation time"
default 100
depends on LVGL_USE_LIST
help
List focus default animation time in milliseconds
config LVGL_USE_CPICKER
bool "Color picker object"
help
Enable color picker object support
config LVGL_USE_DROPDOWN
bool "Drop Down List object"
depends on LVGL_USE_LABEL && LVGL_USE_PAGE
help
Enable drop down list object support
config LVGL_DROPDOWN_DEF_ANIM_TIME
int "Drop Down list animation time"
default 200
depends on LVGL_USE_DROPDOWN
help
Drop down list animation time in milliseconds
config LVGL_USE_ROLLER
bool "Roller object"
depends on LVGL_USE_DROPDOWN
help
Enable roller object support
if LVGL_USE_ROLLER
config LVGL_ROLLER_DEF_ANIM_TIME
int "Roller animation time"
default 200
help
Roller animation time in milliseconds
config LVGL_ROLLER_INF_PAGES
int "Number of pages for infinite roller"
default 7
help
Number of extra pages in case the roller is infinite
endif
config LVGL_USE_SLIDER
bool "Slider object"
depends on LVGL_USE_BAR
help
Enable slider object support
config LVGL_USE_SWITCH
bool "Switch object"
depends on LVGL_USE_SLIDER
help
Enable switch object support
config LVGL_USE_OBJMASK
bool "Mask object"
help
Enable object mask support
endmenu endmenu