Пример #1
0
func mousePosGr() (int, int) {
	//
	if underX {
		return xker.MousePos()
	}
	return mouse.Pos()
}
Пример #2
0
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)
	}
}