| 700 | } |
| 701 | |
| 702 | void QueryString::HandleEditBox(Window *w, WidgetID wid) |
| 703 | { |
| 704 | if (w->IsWidgetGloballyFocused(wid) && this->text.HandleCaret()) { |
| 705 | w->SetWidgetDirty(wid); |
| 706 | |
| 707 | /* For the OSK also invalidate the parent window */ |
| 708 | if (w->window_class == WC_OSK) w->InvalidateData(); |
| 709 | } |
| 710 | } |
| 711 | |
| 712 | static int GetCaretWidth() |
| 713 | { |
no test coverage detected