| 1138 | } |
| 1139 | |
| 1140 | void LineEdit::OnEnableChanged() |
| 1141 | { |
| 1142 | bool enabled = IsEnabled(); |
| 1143 | |
| 1144 | if (!enabled) |
| 1145 | { |
| 1146 | cursor_blink_visible = false; |
| 1147 | timer->Stop(); |
| 1148 | } |
| 1149 | Update(); |
| 1150 | } |
| 1151 | |
| 1152 | bool LineEdit::InputMaskAcceptsInput(int cursor_pos, const std::string& str) |
| 1153 | { |