#include <nnsys/g2d/g2d_MultiCellAnimation.h>
void NNS_G2dTraverseMCCellAnims
(
NNSG2dMultiCellInstance* pMCellInst,
NNSG2dMCTraverseCellAnimCallBack pCBFunc,
u32 userParamater
);
| pMCellInst | [IN] Multicell entity |
| pCBFunc | [IN] Callback function called for every cell animation in the multicell |
| userParamater | [IN] Parameter that the user is free to use and passed as the first argument of the callback function |
None.
Calls the callback function using cell animation and cell animation number as arguments by going through each of the cell animations that make up a multicell. NNS_G2dTraverseMCCellAnims() that cycles through in node units is also available.
The definition of NNSG2dMCTraverseCellAnimCallBack is shown below.
typedef BOOL (*NNSG2dMCTraverseCellAnimCallBack)( u32 userParamater,
NNSG2dCellAnimation* pCellAnim,
u16 cellAnimIdx );
To suspend the callback, set to return FALSE in the callback function.
2005/09/01 Initial version.
CONFIDENTIAL