summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-03-11 10:55:35 +0000
committerbjarni <bjarni@openttd.org>2007-03-11 10:55:35 +0000
commit50fe0fe059c0dd3af5acdfdfee144e10dc678157 (patch)
treeb5331cf55f4eaf3f50d7092f65b2f19db44884e0 /src/settings_gui.cpp
parent6def45089d56bb59d87f0757807b3522980389d3 (diff)
downloadopenttd-50fe0fe059c0dd3af5acdfdfee144e10dc678157.tar.xz
(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 53cf59575..93b0cf78d 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -575,6 +575,13 @@ static const char *_patches_ui[] = {
"link_terraform_toolbar",
"liveries",
"prefer_teamchat",
+#if defined(__APPLE__)
+ /* While the horizontal scrollwheel scrolling is written as general code, only
+ * the cocoa (OSX) driver generates input for it.
+ * Until some other driver will read this input, we will hide the GUI to control this from other systems. */
+ "scrollwheel_scrolling",
+ "scrollwheel_multiplier",
+#endif
};
static const char *_patches_construction[] = {