diff --git a/lib/gui/lvgl/Kconfig.objects b/lib/gui/lvgl/Kconfig.objects index a0e7f171cf6..060dd5f022c 100644 --- a/lib/gui/lvgl/Kconfig.objects +++ b/lib/gui/lvgl/Kconfig.objects @@ -22,6 +22,109 @@ choice bool "Full flexibility" 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 bool "Label Object" help @@ -53,11 +156,10 @@ config LVGL_LABEL_LONG_TXT_HINT endif # LVGL_USE_LABEL -config LVGL_USE_IMG - bool "Image Object" - depends on LVGL_USE_LABEL +config LVGL_USE_LED + bool "LED object" help - Enable image object support + Enable LED object support if LVGL_USE_LED @@ -80,15 +182,52 @@ config LVGL_USE_LINE help Enable line object support -config LVGL_USE_ARC - bool "Arc Object" +config LVGL_USE_LINEMETER + bool "Line meter object" help - Enable arc object support + Enable line meter object support -config LVGL_USE_CONT - bool "Container Object" +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_LIST + bool "List object" + depends on LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_PAGE 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 bool "Page object" @@ -103,42 +242,39 @@ config LVGL_PAGE_DEF_ANIM_TIME help Default page focus animation time in milliseconds -config LVGL_USE_WIN - bool "Window object" - depends on LVGL_USE_CONT && LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_IMG && LVGL_USE_PAGE +config LVGL_USE_ROLLER + bool "Roller object" + depends on LVGL_USE_DROPDOWN help - Enable window object support + Enable roller object support -config LVGL_USE_TABVIEW - bool "Tab view object" - depends on LVGL_USE_PAGE && LVGL_USE_BTNMATRIX - help - Enable tab view object support +if LVGL_USE_ROLLER -config LVGL_TABVIEW_DEF_ANIM_TIME - int "Tab view animation time" - default 300 - depends on LVGL_USE_TABVIEW +config LVGL_ROLLER_DEF_ANIM_TIME + int "Roller animation time" + default 200 help - Tab view animation time in milliseconds + Roller animation time in milliseconds -config LVGL_USE_TILEVIEW - bool "Tile view object" - depends on LVGL_USE_PAGE +config LVGL_ROLLER_INF_PAGES + int "Number of pages for infinite roller" + default 7 help - Enable tile view object support + Number of extra pages in case the roller is infinite -config LVGL_TILEVIEW_DEF_ANIM_TIME - int "Tile view animation time" - default 300 - depends on LVGL_USE_TILEVIEW - help - Tile view animation time in milliseconds +endif # LVGL_USE_ROLLER -config LVGL_USE_CALENDAR - bool "Calendar object" +config LVGL_USE_SLIDER + bool "Slider object" + depends on LVGL_USE_BAR 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 bool "Spinner object" @@ -179,58 +315,11 @@ endchoice endif # LVGL_USE_SPINNER - -config LVGL_USE_CANVAS - bool "Canvas object" - depends on LVGL_USE_IMG +config LVGL_USE_SWITCH + bool "Switch object" + depends on LVGL_USE_SLIDER help - Enabled canvas 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 + Enable switch object support config LVGL_USE_TABLE bool "Table object" @@ -245,16 +334,18 @@ config LVGL_TABLE_COL_MAX help Maximum number of columns to support in a table -config LVGL_USE_LED - bool "LED object" +config LVGL_USE_TABVIEW + bool "Tab view object" + depends on LVGL_USE_PAGE && LVGL_USE_BTNMATRIX help - Enable LED object support + Enable tab view object support -config LVGL_USE_MSGBOX - bool "Message box object" - depends on LVGL_USE_BTNMATRIX && LVGL_USE_LABEL +config LVGL_TABVIEW_DEF_ANIM_TIME + int "Tab view animation time" + default 300 + depends on LVGL_USE_TABVIEW help - Enable message box object support + Tab view animation time in milliseconds config LVGL_USE_TEXTAREA bool "Text area object" @@ -278,115 +369,23 @@ config LVGL_TA_DEF_PWD_SHOW_TIME endif # LVGL_USE_TEXTAREA -config LVGL_USE_SPINBOX - bool "Spinbox object" - depends on LVGL_USE_TEXTAREA +config LVGL_USE_TILEVIEW + bool "Tile view object" + depends on LVGL_USE_PAGE help - Enable spinbox object support + Enable tile view object support -config LVGL_USE_BTN - bool "Button object" - depends on LVGL_USE_CONT +config LVGL_TILEVIEW_DEF_ANIM_TIME + int "Tile view animation time" + default 300 + depends on LVGL_USE_TILEVIEW help - Enable button object support + Tile view animation time in milliseconds -config LVGL_USE_IMGBTN - bool "Image Button" - depends on LVGL_USE_BTN +config LVGL_USE_WIN + bool "Window object" + depends on LVGL_USE_CONT && LVGL_USE_BTN && LVGL_USE_LABEL && LVGL_USE_IMG && LVGL_USE_PAGE 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_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 + Enable window object support endmenu