1# Copyright (c) 2023 Fabian Blatz <fabianblatz@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4choice LV_Z_DEMO
5	prompt "LVGL demo to build"
6	default LV_Z_DEMO_MUSIC
7	help
8	  Demo application to build.
9
10config LV_Z_DEMO_MUSIC
11	bool "LVGL music demo"
12	select LV_USE_DEMO_MUSIC
13	help
14	  Build music player demo application.
15
16config LV_Z_DEMO_BENCHMARK
17	bool "LVGL benchmark demo"
18	select LV_USE_DEMO_BENCHMARK
19	select LV_USE_DEMO_WIDGETS
20	help
21	  Build benchmarking demo application.
22
23config LV_Z_DEMO_STRESS
24	bool "LVGL stress demo"
25	select LV_USE_DEMO_STRESS
26	help
27	  Build stress testing demo application.
28
29config LV_Z_DEMO_WIDGETS
30	bool "LVGL widgets demo"
31	select LV_USE_DEMO_WIDGETS
32	help
33	  Build widgets demo application.
34
35config LV_Z_DEMO_FLEX_LAYOUT
36	bool "LVGL flex layout demo"
37	select LV_USE_DEMO_FLEX_LAYOUT
38	help
39	  Build flex layout demo application.
40
41config LV_Z_DEMO_KEYPAD_AND_ENCODER
42	bool "LVGL keypad and encoder demo"
43	select LV_USE_DEMO_KEYPAD_AND_ENCODER
44	help
45	  Build keypad and encoder demo application.
46
47config LV_Z_DEMO_RENDER
48	bool "LVGL render demo"
49	select LV_USE_DEMO_RENDER
50	help
51	  Build render demo application.
52
53config LV_Z_DEMO_SCROLL
54	bool "LVGL scroll demo"
55	select LV_USE_DEMO_SCROLL
56	help
57	  Build scroll demo application.
58
59config LV_Z_DEMO_MULTILANG
60	bool "LVGL multilang demo"
61	select LV_USE_DEMO_MULTILANG
62	select LV_USE_IMGFONT
63	help
64	  Build multilang demo application.
65
66endchoice
67
68config LV_Z_DEMO_RENDER_SCENE_DYNAMIC
69	bool "Switch scenes dynamically"
70	help
71	  Switch between scenes to render dynamically.
72
73config LV_Z_DEMO_RENDER_SCENE_INDEX
74	int "Index of the rendered scene"
75	depends on !LV_Z_DEMO_RENDER_SCENE_DYNAMIC
76	default 0
77	range 0 11
78	help
79	  Render scene by its index (refer to lv_demo_render.h)
80
81config LV_Z_DEMO_RENDER_DYNAMIC_SCENE_TIMEOUT
82	int "Seconds each rendered scene is shown"
83	depends on LV_Z_DEMO_RENDER_SCENE_DYNAMIC
84	default 3
85	help
86	  Seconds each rendered scenar is shown
87
88source "Kconfig.zephyr"
89