mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/ui: remove unused functions
This commit is contained in:
parent
d79f1a3d08
commit
9ad7a55db2
@ -209,17 +209,6 @@ func (u *userInterfaceImpl) adjustWindowPosition(x, y int, monitor *glfw.Monitor
|
|||||||
return x, y
|
return x, y
|
||||||
}
|
}
|
||||||
|
|
||||||
func flipY(y int) int {
|
|
||||||
for _, m := range ensureMonitors() {
|
|
||||||
if m.x == 0 && m.y == 0 {
|
|
||||||
y = -y
|
|
||||||
y += m.vm.Height
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return y
|
|
||||||
}
|
|
||||||
|
|
||||||
var class_NSEvent = objc.GetClass("NSEvent")
|
var class_NSEvent = objc.GetClass("NSEvent")
|
||||||
var sel_mouseLocation = objc.RegisterName("mouseLocation")
|
var sel_mouseLocation = objc.RegisterName("mouseLocation")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user