summaryrefslogtreecommitdiff
path: root/src/win32.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 09:47:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 09:47:41 +0200
commit5d912fc85519e3d0f387a7183711bb5baf521e8a (patch)
tree1e460a5d735c9b28716ef16a87d174049ede2572 /src/win32.h
parent51a74dc9c66b76dff795a9da3874602f3f0f0285 (diff)
Windows: Improved custom frame behavior
Windows-key shortcuts and cursor edge snapping. Still missing: window shadow and saving the snap mode.
Diffstat (limited to 'src/win32.h')
-rw-r--r--src/win32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/win32.h b/src/win32.h
index b988c302..4b8f00da 100644
--- a/src/win32.h
+++ b/src/win32.h
@@ -22,7 +22,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
22 22
23#pragma once 23#pragma once
24 24
25#include <the_Foundation/defs.h> 25#include <the_Foundation/vec2.h>
26#include <SDL_video.h> 26#include <SDL_video.h>
27#include <SDL_syswm.h> 27#include <SDL_syswm.h>
28 28
@@ -32,3 +32,5 @@ void setDPIAware_Win32(void);
32float desktopDPI_Win32(void); 32float desktopDPI_Win32(void);
33void useExecutableIconResource_SDLWindow(SDL_Window *win); 33void useExecutableIconResource_SDLWindow(SDL_Window *win);
34void processNativeEvent_Win32(const struct SDL_SysWMmsg *msg, iWindow *window); 34void processNativeEvent_Win32(const struct SDL_SysWMmsg *msg, iWindow *window);
35
36iInt2 cursor_Win32(void);