コード例 #1
0
ファイル: mouse.go プロジェクト: CaptainSoOmA/Uni
func warpMouseGr(x, y int) {
	//
	if underX {
		xker.WarpMouse(x, y)
		return
	}
	mouse.Warp(uint(x), uint(y))
	MouseCursor(true)
}
コード例 #2
0
ファイル: mouse.go プロジェクト: CaptainSoOmA/Uni
func initMouse() {
	//
	pointer[0] = "# . . . . . . . . ."
	pointer[1] = "# # . . . . . . . ."
	pointer[2] = "# * # . . . . . . ."
	pointer[3] = "# * * # . . . . . ."
	pointer[4] = "# * * * # . . . . ."
	pointer[5] = "# * * * * # . . . ."
	pointer[6] = "# * * * * * # . . ."
	pointer[7] = "# * * * * * * # . ."
	pointer[8] = "# * * * * * * * # ."
	pointer[9] = "# * * * * * # # # #"
	pointer[10] = "# * * * * * # . . ."
	pointer[11] = "# * # # * * # . . ."
	pointer[12] = "# # . # * * * # . ."
	pointer[13] = "# . . # * * * # . ."
	pointer[14] = ". . . . # * * * # ."
	pointer[15] = ". . . . # * * * # ."
	pointer[16] = ". . . . . # * # . ."
	pointer[17] = ". . . . . # # . . ."
	mouseOn = false
	mouse.Def(0, 0, XX, YY)
	mouse.Warp(nX[mode]/3, nY[mode]/3)
}