Browse Source

[GUI Engine] Fix the TRANSPARENT definition issue.

bernard 7 years ago
parent
commit
7f36786788
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/gui/include/rtgui/color.h

+ 1 - 1
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;