diff options
author | frosch <frosch@openttd.org> | 2012-12-05 19:34:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-05 19:34:25 +0000 |
commit | 5b2da98ca312f91c93012e7a92fb1120d2b9d1fa (patch) | |
tree | 8533bc018200a14e22a82a2c648c71581ba13126 /src/table | |
parent | b3bd33adfb22a068b43c264b35c111e28d456492 (diff) | |
download | openttd-5b2da98ca312f91c93012e7a92fb1120d2b9d1fa.tar.xz |
(svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow)
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/gameopt_settings.ini | 1 | ||||
-rw-r--r-- | src/table/settings.ini | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini index b80f195c7..0b2fb372b 100644 --- a/src/table/gameopt_settings.ini +++ b/src/table/gameopt_settings.ini @@ -22,6 +22,7 @@ static const char *_savegame_date = "long|short|iso"; #ifdef ENABLE_NETWORK static const char *_server_langs = "ANY|ENGLISH|GERMAN|FRENCH|BRAZILIAN|BULGARIAN|CHINESE|CZECH|DANISH|DUTCH|ESPERANTO|FINNISH|HUNGARIAN|ICELANDIC|ITALIAN|JAPANESE|KOREAN|LITHUANIAN|NORWEGIAN|POLISH|PORTUGUESE|ROMANIAN|RUSSIAN|SLOVAK|SLOVENIAN|SPANISH|SWEDISH|TURKISH|UKRAINIAN|AFRIKAANS|CROATIAN|CATALAN|ESTONIAN|GALICIAN|GREEK|LATVIAN"; #endif /* ENABLE_NETWORK */ +static const char *_osk_activation = "disabled|double|single|immediately"; static const SettingDesc _gameopt_settings[] = { /* In version 4 a new difficulty setting has been added to the difficulty settings, diff --git a/src/table/settings.ini b/src/table/settings.ini index 12157d1a8..a9caf1caa 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -2324,6 +2324,20 @@ str = STR_CONFIG_SETTING_HOVER_DELAY strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE +[SDTC_OMANY] +var = gui.osk_activation +type = SLE_UINT8 +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +str = STR_CONFIG_SETTING_OSK_ACTIVATION +strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT +strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED +guiflags = SGF_MULTISTRING +full = _osk_activation +def = 1 +min = 0 +max = 3 +cat = SC_BASIC + [SDTC_VAR] var = gui.toolbar_pos type = SLE_UINT8 |