aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/graphics/quartz/Factory.cpp')
-rw-r--r--src/osx/graphics/quartz/Factory.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/osx/graphics/quartz/Factory.cpp b/src/osx/graphics/quartz/Factory.cpp
index f9b792f2..72dd96c7 100644
--- a/src/osx/graphics/quartz/Factory.cpp
+++ b/src/osx/graphics/quartz/Factory.cpp
@@ -1 +1,12 @@
#include "cru/osx/graphics/quartz/Factory.hpp"
+
+#include "cru/osx/graphics/quartz/Brush.hpp"
+
+#include <memory>
+
+namespace cru::platform::graphics::osx::quartz {
+std::unique_ptr<ISolidColorBrush>
+QuartzGraphicsFactory::CreateSolidColorBrush() {
+ return std::make_unique<QuartzSolidColorBrush>(this, colors::black);
+}
+} // namespace cru::platform::graphics::osx::quartz