From e158fcb47ea6a7bd9172d0751e38265b61d6c88c Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 13 Nov 2018 01:01:27 +0800 Subject: Dev code gen. --- src/ui/controls/text_box.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ui/controls/text_box.cpp') diff --git a/src/ui/controls/text_box.cpp b/src/ui/controls/text_box.cpp index fd357fdb..6eeb7abb 100644 --- a/src/ui/controls/text_box.cpp +++ b/src/ui/controls/text_box.cpp @@ -5,16 +5,10 @@ #include "graph/graph.hpp" #include "exception.hpp" -#include "application.hpp" #include "ui/ui_manager.hpp" namespace cru::ui::controls { - inline Microsoft::WRL::ComPtr GetDWriteFactory() - { - return graph::GraphManager::GetInstance()->GetDWriteFactory(); - } - TextBox::TextBox() : TextControl( UiManager::GetInstance()->GetPredefineResources()->text_box_text_format, UiManager::GetInstance()->GetPredefineResources()->text_box_text_brush -- cgit v1.2.3