aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/controls/text_block.cpp
blob: b8fe742dd25aec4968fb507998f6a9697956f4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "text_block.h"

namespace cru
{
    namespace ui
    {
        namespace controls
        {
            void TextBlock::SetText(const String& text)
            {
                const auto old_text = text_;
                text_ = text;
                OnTextChangedCore(old_text, text);
            }

            void TextBlock::OnSizeChangedCore(events::SizeChangedEventArgs& args)
            {

            }

            void TextBlock::OnTextChangedCore(const String& old_text, const String& new_text)
            {

            }
        }
    }
}