summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32graph/libgraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32graph/libgraph.h')
-rw-r--r--otherlibs/win32graph/libgraph.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/otherlibs/win32graph/libgraph.h b/otherlibs/win32graph/libgraph.h
index 50915d931..067f157a3 100644
--- a/otherlibs/win32graph/libgraph.h
+++ b/otherlibs/win32graph/libgraph.h
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <windows.h>
+#include <windowsx.h>
struct canvas {
int w, h; /* Dimensions of the drawable */
@@ -103,6 +104,8 @@ extern GR_WINDOW grwindow;
HFONT CreationFont(char *name);
extern int MouseLbuttonDown,MouseMbuttonDown,MouseRbuttonDown;
extern HANDLE EventHandle;
-extern int InspectMessages;
-extern MSG msg;
+extern MSG * InspectMessages;
+extern int MouseLbuttonDown,MouseMbuttonDown,MouseRbuttonDown;
+extern int MouseLastX, MouseLastY;
+extern int LastKey;