예제 #1
0
func (d *Display) SetMouse(x, y int) bool {
	var b bool

	b = bool(C.al_set_mouse_xy((*C.ALLEGRO_DISPLAY)(d), C.int(x), C.int(y)))

	return b
}
예제 #2
0
func (d *Display) SetMouseXy(x, y int32) bool {
	return bool(C.al_set_mouse_xy((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)), C.int(x), C.int(y)))
}