From 7f367867889bc2fadf9ffb85300adf8078680834 Mon Sep 17 00:00:00 2001 From: bernard Date: Thu, 14 Dec 2017 09:58:59 +0800 Subject: [PATCH] [GUI Engine] Fix the TRANSPARENT definition issue. --- components/gui/include/rtgui/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/gui/include/rtgui/color.h b/components/gui/include/rtgui/color.h index f47189bd8..f3c232e24 100644 --- a/components/gui/include/rtgui/color.h +++ b/components/gui/include/rtgui/color.h @@ -72,7 +72,7 @@ extern const rtgui_color_t default_background; #ifdef TRANSPARENT #undef TRANSPARENT -#define TRANSPARENT 0 +#define TRANSPARENT RTGUI_ARGB(0, 0, 0, 0) #endif extern const rtgui_color_t red;