aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_block.cpp
blob: e6c7fd7e6f54d5f329d67531a1ed60b9381ab96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "text_block.h"

#include "ui/window.h"

namespace cru::ui::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;
    }
}