Use real relative cursor, fixes scaling issues

This commit is contained in:
Toni Spets 2010-11-07 12:10:09 +02:00
parent 4b3b799106
commit d267c831de
2 changed files with 77 additions and 36 deletions

1
main.h
View file

@ -66,6 +66,7 @@ typedef struct IDirectDrawImpl
LRESULT CALLBACK (*WndProc)(HWND, UINT, WPARAM, LPARAM);
POINT winpos;
POINT cursor;
POINT center;
RECT cursorclip;
BOOL locked;