We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275e6bf commit 6d7d584Copy full SHA for 6d7d584
src/main/kotlin/uno/glfw/GlfwWindow.kt
@@ -451,4 +451,7 @@ open class GlfwWindow(var handle: GlfwWindowHandle) {
451
inline fun present() = swapBuffers()
452
453
fun requestAttention() = glfwRequestWindowAttention(handle)
454
+
455
+ val hwnd: HWND
456
+ get() = GLFWNativeWin32.glfwGetWin32Window(handle)
457
}
src/main/kotlin/uno/glfw/direct fields.kt
@@ -19,3 +19,6 @@ inline val GLFWVidMode.blueBits: Int
19
get() = GLFWVidMode.nblueBits(adr)
20
inline val GLFWVidMode.refreshRate: Int
21
get() = GLFWVidMode.nrefreshRate(adr)
22
23
24
+typealias HWND = Long
0 commit comments