Exemplo n.º 1
0
func LoadDollarTemplates(rw *RWops, id TouchID) error {
	if C.SDL_LoadDollarTemplates(id.c(), rw.c) != 0 {
		return getError()
	}

	return nil
}
Exemplo n.º 2
0
func LoadDollarTemplates(touchId TouchID, src *RWops) int {
	_touchId := (C.SDL_TouchID)(touchId)
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return (int)(C.SDL_LoadDollarTemplates(_touchId, _src))
}
Exemplo n.º 3
0
// LoadDollarTemplates (https://wiki.libsdl.org/SDL_LoadDollarTemplates)
func LoadDollarTemplates(t TouchID, src *RWops) int {
	return int(C.SDL_LoadDollarTemplates(t.c(), src.cptr()))
}