未验证 提交 c77cebc4 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1106 from BernardXiong/master

[GUI Engine] fix TRANSPARENT issue
......@@ -47,13 +47,13 @@ choice
default RTGUI_IMAGE_JPEG_NONE
config RTGUI_IMAGE_JPEG_NONE
bool "No PNG image format"
bool "No"
config RTGUI_IMAGE_JPEG
bool "Use libjpeg"
bool "with libjpeg"
config RTGUI_IMAGE_TJPGD
bool "Use TJPGD"
bool "with TJpgDec(Tiny JPEG Decompressor)"
endchoice
choice
......@@ -61,13 +61,13 @@ choice
default RTGUI_IMAGE_LODEPNG
config RTGUI_IMAGE_PNG_NONE
bool "No PNG image format"
bool "No"
config RTGUI_IMAGE_PNG
bool "Use libpng"
bool "with libpng"
config RTGUI_IMAGE_LODEPNG
bool "Use lodepng"
bool "with LodePNG"
endchoice
config RTGUI_IMAGE_BMP
......@@ -76,10 +76,10 @@ config RTGUI_IMAGE_BMP
config RTGUI_IMAGE_CONTAINER
bool "Use image container"
default n
default y
config RTGUI_USING_DEMO
bool "Display an example of GUI"
bool "Enable the example of UI Engine"
default n
endif
......
......@@ -72,8 +72,8 @@ extern const rtgui_color_t default_background;
#ifdef TRANSPARENT
#undef TRANSPARENT
#define TRANSPARENT RTGUI_ARGB(0, 0, 0, 0)
#endif
#define TRANSPARENT RTGUI_ARGB(0, 0, 0, 0)
extern const rtgui_color_t red;
extern const rtgui_color_t green;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册