| 940 | } |
| 941 | |
| 942 | void LineEdit::OnTimerExpired() |
| 943 | { |
| 944 | if (!IsVisible()) |
| 945 | { |
| 946 | timer->Stop(); |
| 947 | return; |
| 948 | } |
| 949 | |
| 950 | if (cursor_blink_visible) |
| 951 | timer->Start(500); |
| 952 | else |
| 953 | timer->Start(500); |
| 954 | |
| 955 | cursor_blink_visible = !cursor_blink_visible; |
| 956 | Update(); |
| 957 | } |
| 958 | |
| 959 | void LineEdit::OnGeometryChanged() |
| 960 | { |