]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/windows/window_platform.h
Improve cursor hiding logic on Windows
[libs/gui.git] / source / graphics / windows / window_platform.h
index 1ff5cf367669a9a63558cd750a5125bcf794509f..77f45262987caa6c69119dde43a0b4b835b66cd2 100644 (file)
@@ -10,6 +10,8 @@ typedef HWND WindowHandle;
 
 struct PlatformWindowPrivate
 {
+       bool cursor_in_client_area;
+       bool cursor_visible;
 };
 
 struct PlatformEvent
@@ -17,6 +19,7 @@ struct PlatformEvent
        UINT msg;
        WPARAM wparam;
        LPARAM lparam;
+       LPARAM extra;
 };
 
 } // namespace Graphics