Пример #1
0
func (m *MouseCursor) Set(display *Display) bool {
	return bool(C.al_set_mouse_cursor((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(display)), (*C.ALLEGRO_MOUSE_CURSOR)(unsafe.Pointer(m))))
}
Пример #2
0
func (d *Display) SetMouseCursor(mc *MouseCursor) {

	C.al_set_mouse_cursor((*C.ALLEGRO_DISPLAY)(d), (*C.ALLEGRO_MOUSE_CURSOR)(mc))

}