summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:37:02 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:37:02 +0000
commit13873d2534208ddc4596a9354d23d1e4940339ac (patch)
treec0145e41d56780536e4a15f26eaad1249fe3132c /src/video
parentb96ef5c758ccb25e2ad780ea06c78c8b39df8ca8 (diff)
downloadopenttd-13873d2534208ddc4596a9354d23d1e4940339ac.tar.xz
(svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/video_driver.hpp5
1 files changed, 5 insertions, 0 deletions
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. */