summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2014-09-13 13:30:31 +0000
committerplanetmaker <planetmaker@openttd.org>2014-09-13 13:30:31 +0000
commit61e129cc22d1eab769d368d9e68a257a19db743d (patch)
tree55f8e3fe36ff59a5506e377aa27e06d87f4958c7 /src/settings_type.h
parentdb06971ded17cba0b29801925103cd0f4ffe772e (diff)
downloadopenttd-61e129cc22d1eab769d368d9e68a257a19db743d.tar.xz
(svn r26815) -Change: Allow to set the granularity of the tooltip hover time in milliseconds instead of seconds. New default value is 250ms
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 7731e40c9..c51024c00 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -83,7 +83,7 @@ struct GUISettings {
uint8 stop_location; ///< what is the default stop location of trains?
uint8 auto_scrolling; ///< scroll when moving mouse to the edge (see #ViewportAutoscrolling)
byte errmsg_duration; ///< duration of error message
- byte hover_delay; ///< time required to activate a hover event, in seconds
+ uint16 hover_delay_ms; ///< time required to activate a hover event, in milliseconds
bool link_terraform_toolbar; ///< display terraform toolbar when displaying rail, road, water and airport toolbars
uint8 smallmap_land_colour; ///< colour used for land and heightmap at the smallmap
bool reverse_scroll; ///< right-Click-Scrolling scrolls in the opposite direction