aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/IContentBrushControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/IContentBrushControl.h')
-rw-r--r--include/cru/ui/controls/IContentBrushControl.h12
1 files changed, 12 insertions, 0 deletions
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<platform::graphics::IBrush> GetContentBrush()
+ const = 0;
+ virtual void SetContentBrush(
+ std::shared_ptr<platform::graphics::IBrush> brush) = 0;
+};
+} // namespace cru::ui::controls