Merge pull request #957 from enkiller/modify_gui_config
[gui]更改"JPEG"和"PNG"选项为多选一模式
This commit is contained in:
commit
db162eea62
|
@ -36,21 +36,33 @@ config RTGUI_IMAGE_XPM
|
||||||
bool "Support XPM image format"
|
bool "Support XPM image format"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RTGUI_IMAGE_JPEG
|
choice
|
||||||
bool "Support JPEG image format"
|
prompt "JPEG image format"
|
||||||
default n
|
default RTGUI_IMAGE_JPEG_NONE
|
||||||
|
|
||||||
config RTGUI_IMAGE_TJPGD
|
config RTGUI_IMAGE_JPEG_NONE
|
||||||
bool "Use TJPGD for JPEG image"
|
bool "No PNG image format"
|
||||||
default n
|
|
||||||
|
|
||||||
config RTGUI_IMAGE_PNG
|
config RTGUI_IMAGE_JPEG
|
||||||
bool "Support PNG image format"
|
bool "Use libjpeg"
|
||||||
default n
|
|
||||||
|
|
||||||
config RTGUI_IMAGE_LODEPNG
|
config RTGUI_IMAGE_TJPGD
|
||||||
bool "Use lodepng for PNG image"
|
bool "Use TJPGD"
|
||||||
default n
|
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
|
config RTGUI_IMAGE_BMP
|
||||||
bool "Support BMP image format"
|
bool "Support BMP image format"
|
||||||
|
|
Loading…
Reference in New Issue