From e3eb653a856fe6793d3ddab371c3e71290fc7a9b Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 18 Mar 2020 23:19:53 +0800 Subject: ... --- include/cru/platform/graph_base.hpp | 1 + include/cru/ui/base.hpp | 1 + 2 files changed, 2 insertions(+) (limited to 'include/cru') diff --git a/include/cru/platform/graph_base.hpp b/include/cru/platform/graph_base.hpp index eab7ebe7..5840ce18 100644 --- a/include/cru/platform/graph_base.hpp +++ b/include/cru/platform/graph_base.hpp @@ -264,6 +264,7 @@ struct Color { }; namespace colors { +constexpr Color transparent = Color::FromHexAlpha(0x00000000); constexpr Color black = Color::FromHex(0x000000); constexpr Color silver = Color::FromHex(0xc0c0c0); constexpr Color gray = Color::FromHex(0x808080); diff --git a/include/cru/ui/base.hpp b/include/cru/ui/base.hpp index 796f4df5..c9d4d0ef 100644 --- a/include/cru/ui/base.hpp +++ b/include/cru/ui/base.hpp @@ -28,6 +28,7 @@ using cru::platform::native::mouse_buttons::right; } // namespace mouse_buttons namespace colors { +using cru::platform::colors::transparent; using cru::platform::colors::black; using cru::platform::colors::silver; using cru::platform::colors::gray; -- cgit v1.2.3