From 13873d2534208ddc4596a9354d23d1e4940339ac Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 5 Aug 2013 20:37:02 +0000 Subject: (svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition. --- src/video/video_driver.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/video') diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index 306fe2803..d8249b1f7 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -73,6 +73,11 @@ public: { 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. */ -- cgit v1.2.3-70-g09d2