mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-12 21:28:11 +08:00
* rewrite * update submodule * make width height configurable * update dependency * update * update file * update dep * fix basic config layout * update plugin management * more stuff * add blacklist * fix todo * fix windows gethandle * update windows update guide * update windows build guide * include go mod tidy in script * update todo * fix source session * fix text output * add plugin play duration control * fix id diange not working * update todo * update version number
18 lines
283 B
Go
18 lines
283 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package xfyne
|
|
|
|
import (
|
|
"fyne.io/fyne/v2"
|
|
"unsafe"
|
|
)
|
|
|
|
func GetWindowHandle(window fyne.Window) uintptr {
|
|
glfwWindow := getGlfwWindow(window)
|
|
if glfwWindow == nil {
|
|
return 0
|
|
}
|
|
return uintptr(unsafe.Pointer(glfwWindow.GetWin32Window()))
|
|
}
|