From 74bb9cd27242b9320f99ff4d2b50c3051576cc14 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 8 Feb 2022 16:53:51 +0800 Subject: ... --- include/cru/platform/graphics/Brush.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/cru/platform/graphics/Brush.h (limited to 'include/cru/platform/graphics/Brush.h') diff --git a/include/cru/platform/graphics/Brush.h b/include/cru/platform/graphics/Brush.h new file mode 100644 index 00000000..6f4a6902 --- /dev/null +++ b/include/cru/platform/graphics/Brush.h @@ -0,0 +1,11 @@ +#pragma once +#include "Resource.h" + +namespace cru::platform::graphics { +struct CRU_PLATFORM_GRAPHICS_API IBrush : virtual IGraphicsResource {}; + +struct CRU_PLATFORM_GRAPHICS_API ISolidColorBrush : virtual IBrush { + virtual Color GetColor() = 0; + virtual void SetColor(const Color& color) = 0; +}; +} // namespace cru::platform::graphics -- cgit v1.2.3