mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-13 13:38:16 +08:00
Merge 1.0.x branch (#8)
* 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
This commit is contained in:
12
gui/xfyne/window_darwin.go
Normal file
12
gui/xfyne/window_darwin.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package xfyne
|
||||
|
||||
func GetWindowHandle(window fyne.Window) uintptr {
|
||||
glfwWindow := getGlfwWindow(window)
|
||||
if glfwWindow == nil {
|
||||
return 0
|
||||
}
|
||||
return uintptr(glfwWindow.GetCocoaWindow())
|
||||
}
|
||||
Reference in New Issue
Block a user