diff options
Diffstat (limited to 'src/ui/controls/text_block.cpp')
-rw-r--r-- | src/ui/controls/text_block.cpp | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/ui/controls/text_block.cpp b/src/ui/controls/text_block.cpp index 7c52684d..e6c7fd7e 100644 --- a/src/ui/controls/text_block.cpp +++ b/src/ui/controls/text_block.cpp @@ -2,22 +2,16 @@ #include "ui/window.h" -namespace cru +namespace cru::ui::controls { - namespace ui + TextBlock::TextBlock(const Microsoft::WRL::ComPtr<IDWriteTextFormat>& init_text_format, + const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush) : TextControl(init_text_format, init_brush) { - namespace controls - { - TextBlock::TextBlock(const Microsoft::WRL::ComPtr<IDWriteTextFormat>& init_text_format, - const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush) : TextControl(init_text_format, init_brush) - { - } + } - StringView TextBlock::GetControlType() const - { - return control_type; - } - } + StringView TextBlock::GetControlType() const + { + return control_type; } } |