diff options
author | crupest <crupest@outlook.com> | 2021-08-22 22:19:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-08-22 22:19:59 +0800 |
commit | 100c2ae5cd7b815dc9accca0fa9ceaca2f5d1020 (patch) | |
tree | 35af05c94af8ff616e83f199cef971811ff1ecf8 /src/osx/graphics/quartz/Factory.cpp | |
parent | 7fa6f61b1d7b253f749be73a4bfeee9a77cd2e88 (diff) | |
download | cru-100c2ae5cd7b815dc9accca0fa9ceaca2f5d1020.tar.gz cru-100c2ae5cd7b815dc9accca0fa9ceaca2f5d1020.tar.bz2 cru-100c2ae5cd7b815dc9accca0fa9ceaca2f5d1020.zip |
...
Diffstat (limited to 'src/osx/graphics/quartz/Factory.cpp')
-rw-r--r-- | src/osx/graphics/quartz/Factory.cpp | 11 |
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 |