summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-17 21:09:08 +0000
committerrubidium <rubidium@openttd.org>2011-11-17 21:09:08 +0000
commit6e31c2f068180c16c1a7ece0f166c100bf4b4616 (patch)
tree95761c44f538faf74e7f65d750cca358d2cb67a7 /src/video/win32_v.cpp
parentcc85ef493af3bb9af9bbbbed4a24048bc248669f (diff)
downloadopenttd-6e31c2f068180c16c1a7ece0f166c100bf4b4616.tar.xz
(svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index cc242fb2e..f571638b8 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -81,6 +81,12 @@ static void UpdatePalette(HDC dc, uint start, uint count)
SetDIBColorTable(dc, start, count, rgb);
}
+bool VideoDriver_Win32::ClaimMousePointer()
+{
+ MyShowCursor(false, true);
+ return true;
+}
+
struct VkMapping {
byte vk_from;
byte vk_count;