aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graph/win_brush.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/win/graph/win_brush.hpp')
-rw-r--r--include/cru/win/graph/win_brush.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/cru/win/graph/win_brush.hpp b/include/cru/win/graph/win_brush.hpp
index 69cd952d..c81019c0 100644
--- a/include/cru/win/graph/win_brush.hpp
+++ b/include/cru/win/graph/win_brush.hpp
@@ -4,18 +4,17 @@
#include "cru/platform/graph/brush.hpp"
namespace cru::win::graph {
-class GraphManager;
+struct IWinNativeFactory;
-struct WinBrush : virtual platform::graph::Brush {
+struct IWinBrush : virtual platform::graph::IBrush {
virtual ID2D1Brush* GetD2DBrush() = 0;
};
class WinSolidColorBrush : public Object,
- public virtual platform::graph::SolidColorBrush,
- public virtual WinBrush {
+ public virtual platform::graph::ISolidColorBrush,
+ public virtual IWinBrush {
public:
- explicit WinSolidColorBrush(GraphManager* graph_manager,
- const ui::Color& color);
+ WinSolidColorBrush(IWinNativeFactory* factory, const ui::Color& color);
WinSolidColorBrush(const WinSolidColorBrush& other) = delete;
WinSolidColorBrush(WinSolidColorBrush&& other) = delete;
WinSolidColorBrush& operator=(const WinSolidColorBrush& other) = delete;