| 281 | } |
| 282 | |
| 283 | void EditBox::onKeyLostFocus(Widget* _new) |
| 284 | { |
| 285 | if (mIsPressed) |
| 286 | { |
| 287 | mIsPressed = false; |
| 288 | updateEditState(); |
| 289 | |
| 290 | if (mClientText != nullptr) |
| 291 | { |
| 292 | mCursorActive = false; |
| 293 | Gui::getInstance().eventFrameStart -= newDelegate(this, &EditBox::frameEntered); |
| 294 | mClientText->setVisibleCursor(false); |
| 295 | mClientText->setSelectBackground(false); |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | Base::onKeyLostFocus(_new); |
| 300 | } |
| 301 | |
| 302 | static bool isWhitespace(const UString::code_point& c) |
| 303 | { |
nothing calls this directly
no test coverage detected