diff options
author | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
commit | c1dbad5fdf0560983e6c832eddded6f610eae94e (patch) | |
tree | 40f22f7e6aa7ef39c49b1c007beed37130fc0b5d /src/ui/controls/TextBlock.cpp | |
parent | b2622f654598f82a220a98daaa84fed9ce3b92b2 (diff) | |
download | cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.gz cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.bz2 cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.zip |
...
Diffstat (limited to 'src/ui/controls/TextBlock.cpp')
-rw-r--r-- | src/ui/controls/TextBlock.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/controls/TextBlock.cpp b/src/ui/controls/TextBlock.cpp index 80d9fe34..f3d2405b 100644 --- a/src/ui/controls/TextBlock.cpp +++ b/src/ui/controls/TextBlock.cpp @@ -8,15 +8,6 @@ namespace cru::ui::controls { using render::TextRenderObject; -TextBlock* TextBlock::Create() { return new TextBlock(); } - -TextBlock* TextBlock::Create(String text, bool selectable) { - auto c = new TextBlock(); - c->SetText(text); - c->SetSelectable(selectable); - return c; -} - TextBlock::TextBlock() { const auto theme_manager = ThemeManager::GetInstance(); |