Exemple #1
0
func (d *Display) ShowCursor(show bool) {
	if show {

		C.al_show_mouse_cursor((*C.ALLEGRO_DISPLAY)(d))

	} else {

		C.al_hide_mouse_cursor((*C.ALLEGRO_DISPLAY)(d))

	}
}
Exemple #2
0
func HideMouseCursor(display *Display) bool {
	return bool(C.al_hide_mouse_cursor((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(display))))
}