aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui_manager.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-05-24 23:45:58 +0800
committercrupest <crupest@outlook.com>2019-05-24 23:45:58 +0800
commitb6db663269201fa14a6a4aa1b9042645a9e8f859 (patch)
tree1984e2c2784fb9623d4c20fbdd6fc650792e133c /src/ui/ui_manager.cpp
parentb9df1bcaea0c19b2e29479cdb1ad5a39e23c4ee7 (diff)
downloadcru-b6db663269201fa14a6a4aa1b9042645a9e8f859.tar.gz
cru-b6db663269201fa14a6a4aa1b9042645a9e8f859.tar.bz2
cru-b6db663269201fa14a6a4aa1b9042645a9e8f859.zip
...
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));
}