diff options
author | crupest <crupest@outlook.com> | 2018-11-13 01:01:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-13 01:01:27 +0800 |
commit | e158fcb47ea6a7bd9172d0751e38265b61d6c88c (patch) | |
tree | 1e142ae77ad824eeb87b634554d3f7159de442c9 /src/ui/controls/text_box.cpp | |
parent | 828a48aa387796ce89706ade69d0a6a3bf1e35a9 (diff) | |
download | cru-e158fcb47ea6a7bd9172d0751e38265b61d6c88c.tar.gz cru-e158fcb47ea6a7bd9172d0751e38265b61d6c88c.tar.bz2 cru-e158fcb47ea6a7bd9172d0751e38265b61d6c88c.zip |
Dev code gen.
Diffstat (limited to 'src/ui/controls/text_box.cpp')
-rw-r--r-- | src/ui/controls/text_box.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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<IDWriteFactory> GetDWriteFactory() - { - return graph::GraphManager::GetInstance()->GetDWriteFactory(); - } - TextBox::TextBox() : TextControl( UiManager::GetInstance()->GetPredefineResources()->text_box_text_format, UiManager::GetInstance()->GetPredefineResources()->text_box_text_brush |