示例#1
0
func CreateSystemCursor(id SystemCursor) *Cursor {
	_id := (C.SDL_SystemCursor)(id)
	return (*Cursor)(C.SDL_CreateSystemCursor(_id))
}
示例#2
0
文件: mouse.go 项目: veandco/go-sdl2
// CreateSystemCursor (https://wiki.libsdl.org/SDL_CreateSystemCursor)
func CreateSystemCursor(id SystemCursor) *Cursor {
	return (*Cursor)(C.SDL_CreateSystemCursor(id.c()))
}