Exemplo n.º 1
0
func (d *Display) SetSystemCursor(cursor C.ALLEGRO_SYSTEM_MOUSE_CURSOR) bool {
	var b bool

	b = bool(C.al_set_system_mouse_cursor((*C.ALLEGRO_DISPLAY)(d), cursor))

	return b
}
Exemplo n.º 2
0
func SetSystemMouseCursor(display *Display, cursorId uint32) bool {
	return bool(C.al_set_system_mouse_cursor((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(display)), (C.ALLEGRO_SYSTEM_MOUSE_CURSOR)(cursorId)))
}