summaryrefslogtreecommitdiff
path: root/components/gui/Kconfig
blob: e180420c7ea4de8a25dd80528ed0e1eaa9e73a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
menu "RT-Thread UI Engine"

config RT_USING_GUIENGINE
    bool "Enable UI Engine"
    default n

if RT_USING_GUIENGINE

config RTGUI_NAME_MAX
    int "The maximal size of name in GUI engine"
    default 16

config RTGUI_USING_TTF
    bool "Support TrueType font"
    default n

config RTGUI_USING_FONT16
    bool "Support 16 height font"
    default y

config RTGUI_USING_FONT12
    bool "Support 12 height font"
    default y

config RTGUI_USING_FONTHZ
    bool "Support Chinese font"
    default n

if RTGUI_USING_FONTHZ
config RTGUI_USING_HZ_BMP
    bool "Use bitmap Chinese font"
    default n
endif

config RTGUI_IMAGE_XPM
    bool "Support XPM image format"
    default n

choice
    prompt "JPEG image format"
    default RTGUI_IMAGE_JPEG_NONE

    config RTGUI_IMAGE_JPEG_NONE
        bool "No PNG image format"

    config RTGUI_IMAGE_JPEG
        bool "Use libjpeg"

    config RTGUI_IMAGE_TJPGD
        bool "Use TJPGD"
endchoice

choice
    prompt "PNG image format"
    default RTGUI_IMAGE_PNG_NONE

    config RTGUI_IMAGE_PNG_NONE
        bool "No PNG image format"

    config RTGUI_IMAGE_PNG
        bool "Use libpng"

    config RTGUI_IMAGE_LODEPNG
        bool "Use lodepng"
endchoice

config RTGUI_IMAGE_BMP
    bool "Support BMP image format"
    default n

config RTGUI_IMAGE_CONTAINER
    bool "Use image container"
    default n
    
endif

endmenu