#include <nnsys/g2d/g2d_Animation.h>
void NNS_G2dSetCallBackFunctor(
NNSG2dAnimController* pAnimCtrl,
NNSG2dAnmCallbackType type,
u32 param,
NNSG2dAnmCallBackPtr pFunc );
pAnimCtrl |
[OUT] NNSG2dAnimController entity |
type |
[IN] Type of callback call |
param |
[IN] u32 data used as a callback function argument |
pFunc |
[IN] Pointer to callback function |
None.
Sets the callback to the animation controller. The callback can register only one type to each controller entity.
Do not set this function's type argument to NNS_G2D_ANMCALLBACKTYPE_SPEC_FRM
. If necessary, use the NNS_G2dSetAnimCtrlCallBackFunctorAtAnimFrame
function instead.
The name of this function has changed to NNS_G2dSetAnimCtrlCallBackFunctor
. To maintain compatibility, the previous function was kept under a different name.
NNS_G2dSetAnimCtrlCallBackFunctor
NNS_G2dSetAnimCtrlCallBackFunctorAtAnimFrame
2004/08/02 Renamed function.
2004/05/28 Initial version.
CONFIDENTIAL