summaryrefslogtreecommitdiff
path: root/components/gui/Kconfig
blob: 0c907f397e61960deed91e8664f824ceb433c474 (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
78
79
80
81
82
83
84
85
86
87
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

if RTGUI_USING_TTF
    config UTF8_TO_UNICODE
        bool "Support UTF8 to UNICODE"
        default n
endif
    
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"

    config RTGUI_IMAGE_JPEG
        bool "with libjpeg"

    config RTGUI_IMAGE_TJPGD
        bool "with TJpgDec(Tiny JPEG Decompressor)"
endchoice

choice
    prompt "PNG image format"
    default RTGUI_IMAGE_LODEPNG

    config RTGUI_IMAGE_PNG_NONE
        bool "No"

    config RTGUI_IMAGE_PNG
        bool "with libpng"

    config RTGUI_IMAGE_LODEPNG
        bool "with LodePNG"
endchoice

config RTGUI_IMAGE_BMP
    bool "Support BMP image format"
    default n

config RTGUI_IMAGE_CONTAINER
    bool "Use image container"
    default y
    
config RTGUI_USING_DEMO
    bool "Enable the example of UI Engine"
    default n
    
endif

endmenu