]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/windows/window_platform.h
Improve cursor hiding logic on Windows
[libs/gui.git] / source / graphics / windows / window_platform.h
1 #ifndef MSP_GRAPHICS_WINDOW_PLATFORM_H_
2 #define MSP_GRAPHICS_WINDOW_PLATFORM_H_
3
4 #include <windows.h>
5
6 namespace Msp {
7 namespace Graphics {
8
9 typedef HWND WindowHandle;
10
11 struct PlatformWindowPrivate
12 {
13         bool cursor_in_client_area;
14         bool cursor_visible;
15 };
16
17 struct PlatformEvent
18 {
19         UINT msg;
20         WPARAM wparam;
21         LPARAM lparam;
22         LPARAM extra;
23 };
24
25 } // namespace Graphics
26 } // namespace Msp
27
28 #endif