summaryrefslogtreecommitdiff
path: root/video/win32_v.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-27 19:22:38 +0000
committertron <tron@openttd.org>2005-07-27 19:22:38 +0000
commit9aa4893e66bc81a589b58bc08e0373212072299e (patch)
treea870ac7c944b92964c616675d5f385365c5d568a /video/win32_v.c
parenta1557fa270432477b5a0457162110f77ea9df90f (diff)
downloadopenttd-9aa4893e66bc81a589b58bc08e0373212072299e.tar.xz
(svn r2725) Move MyShowCursor() back into win32.c, it fits better there
Diffstat (limited to 'video/win32_v.c')
-rw-r--r--video/win32_v.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/video/win32_v.c b/video/win32_v.c
index 6710459ef..d4e1ff1fa 100644
--- a/video/win32_v.c
+++ b/video/win32_v.c
@@ -7,6 +7,7 @@
#include "../macros.h"
#include "../network.h"
#include "../variables.h"
+#include "../win32.h"
#include "../window.h"
#include "win32_v.h"
#include <windows.h>
@@ -65,17 +66,6 @@ static void UpdatePalette(HDC dc, uint start, uint count)
SetDIBColorTable(dc, start, count, rgb);
}
-bool MyShowCursor(bool show)
-{
- if (_wnd.cursor_visible == show)
- return show;
-
- _wnd.cursor_visible = show;
- ShowCursor(show);
-
- return !show;
-}
-
typedef struct {
byte vk_from;
byte vk_count;