| 881 | } |
| 882 | |
| 883 | void TextEdit::OnEnableChanged() |
| 884 | { |
| 885 | bool enabled = IsEnabled(); |
| 886 | if (!enabled) |
| 887 | { |
| 888 | cursor_blink_visible = false; |
| 889 | timer->Stop(); |
| 890 | } |
| 891 | Update(); |
| 892 | } |
| 893 | |
| 894 | bool TextEdit::InputMaskAcceptsInput(ivec2 cursor_pos, const std::string& str) |
| 895 | { |