diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:37:57 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:37:57 +0000 |
commit | d15c1c5d4aacb74bbfd6d47700c5b2a2cec368ff (patch) | |
tree | 1cc8e74963f04a70fe7a7622e51dc2f31451a9f7 /src/gfx_func.h | |
parent | 30867c487f17ca13744977c7873f4e1cf214fd33 (diff) | |
download | openttd-d15c1c5d4aacb74bbfd6d47700c5b2a2cec368ff.tar.xz |
(svn r25692) -Add: Replacement of a part of the edit box text with a new string.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index f720672f8..aa18f3f70 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -71,7 +71,7 @@ extern Dimension _cur_resolution; extern Palette _cur_palette; ///< Current palette void HandleKeypress(uint keycode, WChar key); -void HandleTextInput(const char *str, bool marked = false, const char *caret = NULL); +void HandleTextInput(const char *str, bool marked = false, const char *caret = NULL, const char *insert_location = NULL, const char *replacement_end = NULL); void HandleCtrlChanged(); void HandleMouseEvents(); void CSleep(int milliseconds); |