summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-05 19:34:25 +0000
committerfrosch <frosch@openttd.org>2012-12-05 19:34:25 +0000
commit5b2da98ca312f91c93012e7a92fb1120d2b9d1fa (patch)
tree8533bc018200a14e22a82a2c648c71581ba13126 /src/table
parentb3bd33adfb22a068b43c264b35c111e28d456492 (diff)
downloadopenttd-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.ini1
-rw-r--r--src/table/settings.ini14
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