diff src/video/video_driver.hpp @ 20703:0cc7d9dfe800 draft

-Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.
author Michael Lutz <michi@icosahedron.de>
date Sat, 09 Mar 2013 16:35:17 +0100 (2013-03-09)
parents 7e46420ff249
children
line wrap: on
line diff
--- a/src/video/video_driver.hpp
+++ b/src/video/video_driver.hpp
@@ -73,6 +73,11 @@
 	{
 		return true;
 	}
+
+	/**
+	 * An edit box lost the input focus. Abort character compositing if necessary.
+	 */
+	virtual void EditBoxLostFocus() {}
 };
 
 /** Base of the factory for the video drivers. */