diff options
author | crupest <crupest@outlook.com> | 2019-04-01 15:28:07 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-01 15:28:07 +0800 |
commit | 3e89aa733587043645f5fda72596e4ff3cd21d2a (patch) | |
tree | 7daadddf1073f537bb580a0cdf77208cf26e6271 /include/cru/platform/win/win_graph_factory.hpp | |
parent | 8ca0873597eb05a2f120d3ea107660abcff4533c (diff) | |
download | cru-3e89aa733587043645f5fda72596e4ff3cd21d2a.tar.gz cru-3e89aa733587043645f5fda72596e4ff3cd21d2a.tar.bz2 cru-3e89aa733587043645f5fda72596e4ff3cd21d2a.zip |
...
Diffstat (limited to 'include/cru/platform/win/win_graph_factory.hpp')
-rw-r--r-- | include/cru/platform/win/win_graph_factory.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/cru/platform/win/win_graph_factory.hpp b/include/cru/platform/win/win_graph_factory.hpp new file mode 100644 index 00000000..b49413e4 --- /dev/null +++ b/include/cru/platform/win/win_graph_factory.hpp @@ -0,0 +1,24 @@ +#pragma once +#include "win_pre_config.hpp" + +#include "../graph_factory.hpp" + +namespace cru::platform::win { +class GraphManager; + +class WinGraphFactory : public Object, public virtual GraphFactory { + public: + explicit WinGraphFactory(GraphManager* graph_manager); + WinGraphFactory(const WinGraphFactory& other) = delete; + WinGraphFactory(WinGraphFactory&& other) = delete; + WinGraphFactory& operator=(const WinGraphFactory& other) = delete; + WinGraphFactory& operator=(WinGraphFactory&& other) = delete; + ~WinGraphFactory() override = default; + + SolidColorBrush* CreateSolidColorBrush(const ui::Color& color) override; + GeometryBuilder* CreateGeometryBuilder() override; + + private: + GraphManager* graph_manager_; +}; +} // namespace cru::platform::win |