NNS_G2dTraverseMCCellAnims

Syntax

#include <nnsys/g2d/g2d_MultiCellAnimation.h>

void NNS_G2dTraverseMCCellAnims
( 
    NNSG2dMultiCellInstance*         pMCellInst,
    NNSG2dMCTraverseCellAnimCallBack pCBFunc,
    u32                              userParamater
);

  

Arguments

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, passed to the callback function as its first argument

Return Values

None.

Description

Calls the callback function using each cell animation and cell animation number as arguments while traversing the cell animations that make up a multicell. The NNS_G2dTraverseMCCellAnims function, which traverses in units of nodes, is also available.
The definition of NNSG2dMCTraverseCellAnimCallBack is shown below.

typedef BOOL (*NNSG2dMCTraverseCellAnimCallBack)( u32                   userParameter,
                                                  NNSG2dCellAnimation*  pCellAnim, 
                                                  u16                   cellAnimIdx );    
To suspend the callback, set to return FALSE in the callback function.

See Also

NNS_G2dTraverseMCNodes

Revision History

2005/09/01 Initial version.


CONFIDENTIAL