File diff r21435:37fd42ff92b8 → r21436:38079fc3bcd8
src/osk_gui.cpp
Show inline comments
 
@@ -205,13 +205,13 @@ struct OskWindow : public Window {
 
		this->SetWidgetDirty(WID_OSK_TEXT);
 
		this->parent->SetWidgetDirty(this->text_btn);
 
	}
 

	
 
	virtual void OnFocusLost()
 
	{
 
		_video_driver->EditBoxLostFocus();
 
		VideoDriver::GetInstance()->EditBoxLostFocus();
 
		delete this;
 
	}
 
};
 

	
 
static const int HALF_KEY_WIDTH = 7;  // Width of 1/2 key in pixels.
 
static const int INTER_KEY_SPACE = 2; // Number of pixels between two keys.