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

#include "ui/ui_manager.hpp"

namespace cru::ui::controls
{
    TextBlock::TextBlock() : TextControl(
        UiManager::GetInstance()->GetPredefineResources()->text_block_text_format,
        UiManager::GetInstance()->GetPredefineResources()->text_block_text_brush
    )
    {

    }

    StringView TextBlock::GetControlType() const
    {
        return control_type;
    }
}