aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/cru/platform/graph_base.hpp1
-rw-r--r--include/cru/ui/base.hpp1
2 files changed, 2 insertions, 0 deletions
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;