From a0732c3aa32d200bf154d486df3c9f506161954f Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 4 Mar 2022 21:21:15 +0800 Subject: ... --- include/cru/ui/controls/IContentBrushControl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/cru/ui/controls/IContentBrushControl.h (limited to 'include/cru/ui/controls/IContentBrushControl.h') diff --git a/include/cru/ui/controls/IContentBrushControl.h b/include/cru/ui/controls/IContentBrushControl.h new file mode 100644 index 00000000..d7a4c1b8 --- /dev/null +++ b/include/cru/ui/controls/IContentBrushControl.h @@ -0,0 +1,12 @@ +#pragma once +#include "../Base.h" +#include "cru/platform/graphics/Brush.h" + +namespace cru::ui::controls { +struct CRU_UI_API IContentBrushControl : virtual Interface { + virtual std::shared_ptr GetContentBrush() + const = 0; + virtual void SetContentBrush( + std::shared_ptr brush) = 0; +}; +} // namespace cru::ui::controls -- cgit v1.2.3