Win32: Implement GLFW_TRANSPARENT

This is a squashed extract of several commits, minimally edited to
ensure it compiles.

Related to #197.
Related to #723.
This commit is contained in:
Christopher Pelloux
2016-02-23 23:40:22 -05:00
committed by Camilla Löwy
parent 019609b6cd
commit 51f0cd3b51
3 changed files with 117 additions and 3 deletions
+2
View File
@@ -131,6 +131,8 @@ static GLFWbool loadLibraries(void)
GetProcAddress(_glfw.win32.dwmapi.instance, "DwmIsCompositionEnabled");
_glfw.win32.dwmapi.Flush = (PFN_DwmFlush)
GetProcAddress(_glfw.win32.dwmapi.instance, "DwmFlush");
_glfw.win32.dwmapi.DwmEnableBlurBehindWindow = (DWMENABLEBLURBEHINDWINDOW_T)
GetProcAddress(_glfw.win32.dwmapi.instance, "DwmEnableBlurBehindWindow");
}
_glfw.win32.shcore.instance = LoadLibraryA("shcore.dll");