summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-12-14 09:58:59 +0800
committerbernard <[email protected]>2017-12-14 09:58:59 +0800
commit7f367867889bc2fadf9ffb85300adf8078680834 (patch)
tree074da4780a4702ae37347fc6438020c36fd8f52e /components
parentfdc4fee0360986356f2ffcd0234a9322d785b956 (diff)
[GUI Engine] Fix the TRANSPARENT definition issue.
Diffstat (limited to 'components')
-rw-r--r--components/gui/include/rtgui/color.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gui/include/rtgui/color.h b/components/gui/include/rtgui/color.h
index f47189bd84..f3c232e241 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;