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;