1# Copyright (c) 2022 Huawei Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4config LVGL
5	bool "LVGL GUI library"
6	help
7	  This option enables the LVGL GUI library.
8
9if LVGL
10
11config LV_DPI_DEF
12	int
13
14config LV_Z_BITS_PER_PIXEL
15	int
16
17config LV_Z_DOUBLE_VDB
18	bool
19
20config LV_Z_FULL_REFRESH
21	bool
22
23config LV_Z_VBD_CUSTOM_SECTION
24	bool
25
26config LV_Z_VDB_ALIGN
27	int
28
29config LV_Z_VDB_SIZE
30	int
31
32config LV_Z_POINTER_KSCAN
33	bool
34
35config LV_Z_POINTER_KSCAN_MSGQ_COUNT
36	int
37	default 10
38
39config LV_Z_POINTER_KSCAN_SWAP_XY
40	bool
41
42config LV_Z_POINTER_KSCAN_INVERT_X
43	bool
44
45config LV_Z_POINTER_KSCAN_INVERT_Y
46	bool
47
48choice LV_COLOR_DEPTH
49	default LV_COLOR_DEPTH_16
50	prompt "Color depth (bits per pixel)"
51	depends on LVGL
52
53	config LV_COLOR_DEPTH_32
54		bool "32: ARGB8888"
55	config LV_COLOR_DEPTH_16
56		bool "16: RGB565"
57	config LV_COLOR_DEPTH_8
58		bool "8: RGB232"
59	config LV_COLOR_DEPTH_1
60		bool "1: monochrome"
61endchoice
62
63config LV_COLOR_16_SWAP
64	bool
65
66endif
67