func mousePosGr() (int, int) { // if underX { return xker.MousePos() } return mouse.Pos() }
func mouseCursor(on bool) { // mouseOn = on if underX { return // TODO } if !mouse.Ex() { return } if mouseOn { ar(fbcop, fbmem, nil, uint(xMouse), uint(yMouse), uint(xMouse+pointerW-1), uint(yMouse+pointerH-1)) xMouse, yMouse = mouse.Pos() mousePointer(xMouse, yMouse) } }