src/osk_gui.cpp
changeset 9399 3090d36f3436
parent 9317 f14eb8815829
child 9760 92202f8b455a
equal deleted inserted replaced
9398:d60d75cb053d 9399:3090d36f3436
   200 	virtual void OnMouseLoop()
   200 	virtual void OnMouseLoop()
   201 	{
   201 	{
   202 		this->qs->HandleEditBox(this, OSK_WIDGET_TEXT);
   202 		this->qs->HandleEditBox(this, OSK_WIDGET_TEXT);
   203 		/* make the caret of the parent window also blink */
   203 		/* make the caret of the parent window also blink */
   204 		this->parent->InvalidateWidget(this->text_btn);
   204 		this->parent->InvalidateWidget(this->text_btn);
       
   205 	}
       
   206 
       
   207 	virtual void OnInvalidateData(int)
       
   208 	{
       
   209 		this->InvalidateWidget(OSK_WIDGET_TEXT);
   205 	}
   210 	}
   206 };
   211 };
   207 
   212 
   208 static const Widget _osk_widgets[] = {
   213 static const Widget _osk_widgets[] = {
   209 {      WWT_EMPTY, RESIZE_NONE,     0,     0,     0,     0,     0, 0x0,               STR_NULL},
   214 {      WWT_EMPTY, RESIZE_NONE,     0,     0,     0,     0,     0, 0x0,               STR_NULL},