From b6db663269201fa14a6a4aa1b9042645a9e8f859 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 24 May 2019 23:45:58 +0800 Subject: ... --- src/ui/ui_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/ui_manager.cpp') diff --git a/src/ui/ui_manager.cpp b/src/ui/ui_manager.cpp index 0c3a8f49..82b859c8 100644 --- a/src/ui/ui_manager.cpp +++ b/src/ui/ui_manager.cpp @@ -7,13 +7,13 @@ namespace cru::ui { PredefineResources::PredefineResources() { - const auto graph_factory = platform::graph::GraphFactory::GetInstance(); + const auto graph_factory = platform::graph::IGraphFactory::GetInstance(); - button_normal_border_brush.reset(static_cast( + button_normal_border_brush.reset(static_cast( graph_factory->CreateSolidColorBrush(colors::black))); - text_block_selection_brush.reset(static_cast( + text_block_selection_brush.reset(static_cast( graph_factory->CreateSolidColorBrush(colors::skyblue))); - text_block_text_brush.reset(static_cast( + text_block_text_brush.reset(static_cast( graph_factory->CreateSolidColorBrush(colors::black))); text_block_font.reset(graph_factory->CreateFontDescriptor(L"等线", 24.0f)); } -- cgit v1.2.3