Example #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))

	}
}
Example #2
0
func ShowMouseCursor(display *Display) bool {
	return bool(C.al_show_mouse_cursor((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(display))))
}