diff options
author | rubidium <rubidium@openttd.org> | 2008-03-26 10:08:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-26 10:08:17 +0000 |
commit | 327e870962e53a9ae809f588d520f216274679ed (patch) | |
tree | 6f0a8507b3787ee4fc264a975c90db6c455c39a1 /src/settings.cpp | |
parent | 06c0e5df5a9b043ef9745e3c2cc1653847a110ab (diff) | |
download | openttd-327e870962e53a9ae809f588d520f216274679ed.tar.xz |
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 39bd51ae2..2debd509f 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -49,6 +49,7 @@ #endif #include "spritecache.h" #include "transparency.h" +#include "textbuf_gui.h" #include "string_func.h" #include "gui.h" #include "town.h" @@ -1295,6 +1296,8 @@ static const SettingDescGlobVarList _misc_settings[] = { SDTG_VAR("player_face", SLE_UINT32, S, 0, _player_face, 0,0,0xFFFFFFFF,0, STR_NULL, NULL), SDTG_VAR("transparency_options", SLE_UINT, S, 0, _transparency_opt, 0,0,0x1FF,0, STR_NULL, NULL), SDTG_VAR("transparency_locks", SLE_UINT, S, 0, _transparency_lock, 0,0,0x1FF,0, STR_NULL, NULL), + SDTG_STR("keyboard", SLE_STRB, S, 0, _keyboard_opt[0], NULL, STR_NULL, NULL), + SDTG_STR("keyboard_caps", SLE_STRB, S, 0, _keyboard_opt[1], NULL, STR_NULL, NULL), SDTG_END() }; |