summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-14 15:08:31 +0000
committerterkhen <terkhen@openttd.org>2010-07-14 15:08:31 +0000
commitfa3d9d04d386daf3ee92c9ab0f2624fbdcd1abf4 (patch)
tree24cd72f3eae0edfc8d4a5ec691869b9582a36856 /src/table
parent0753669fa75cc6cddabe617478ae8dc45321510c (diff)
downloadopenttd-fa3d9d04d386daf3ee92c9ab0f2624fbdcd1abf4.tar.xz
(svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index a25664b9a..dbfc87ce0 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -558,6 +558,7 @@ const SettingDesc _settings[] = {
SDTC_BOOL(gui.left_mouse_btn_scrolling, S, 0, false, STR_CONFIG_SETTING_LEFT_MOUSE_BTN_SCROLLING, NULL),
SDTC_BOOL(gui.measure_tooltip, S, 0, true, STR_CONFIG_SETTING_MEASURE_TOOLTIP, NULL),
SDTC_VAR(gui.errmsg_duration, SLE_UINT8, S, 0, 5, 0, 20, 0, STR_CONFIG_SETTING_ERRMSG_DURATION, NULL),
+ SDTC_VAR(gui.hover_delay, SLE_UINT8, S, D0, 2, 1, 5, 0, STR_CONFIG_SETTING_HOVER_DELAY, NULL),
SDTC_VAR(gui.toolbar_pos, SLE_UINT8, S, MS, 1, 0, 2, 0, STR_CONFIG_SETTING_TOOLBAR_POS, v_PositionMainToolbar),
SDTC_VAR(gui.window_snap_radius, SLE_UINT8, S, D0, 10, 1, 32, 0, STR_CONFIG_SETTING_SNAP_RADIUS, NULL),
SDTC_VAR(gui.window_soft_limit, SLE_UINT8, S, D0, 20, 5, 255, 1, STR_CONFIG_SETTING_SOFT_LIMIT, NULL),