aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_manager.cpp')
-rw-r--r--src/ui/ui_manager.cpp8
1 files changed, 4 insertions, 4 deletions
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<platform::graph::Brush*>(
+ button_normal_border_brush.reset(static_cast<platform::graph::IBrush*>(
graph_factory->CreateSolidColorBrush(colors::black)));
- text_block_selection_brush.reset(static_cast<platform::graph::Brush*>(
+ text_block_selection_brush.reset(static_cast<platform::graph::IBrush*>(
graph_factory->CreateSolidColorBrush(colors::skyblue)));
- text_block_text_brush.reset(static_cast<platform::graph::Brush*>(
+ text_block_text_brush.reset(static_cast<platform::graph::IBrush*>(
graph_factory->CreateSolidColorBrush(colors::black)));
text_block_font.reset(graph_factory->CreateFontDescriptor(L"等线", 24.0f));
}