func (d *Display) GrabCursor(grab bool) { if grab { C.al_grab_mouse((*C.ALLEGRO_DISPLAY)(d)) } else { C.al_ungrab_mouse() } }
func GrabMouse(display *Display) bool { return bool(C.al_grab_mouse((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(display)))) }