#include <revolution/nand.h> #define NANDGetIconSpeed(stat, n) (((stat)->iconSpeed >> (2 * (n))) & NAND_BANNER_ICON_ANIM_SPEED_MASK)
| stat | Pointer to the NANDBanner structure |
|---|---|
| n | The icon index. |
Gets the duration of time the graphic of the icon is displayed.
Here is the list of related macro constants:
| Macro name | Description |
| NAND_BANNER_ICON_ANIM_SPEED_END | The constant that indicates the end of the data when there are fewer than eight icons. |
|---|---|
| NAND_BANNER_ICON_ANIM_SPEED_SLOW | The constant corresponding to slow speed. |
| NAND_BANNER_ICON_ANIM_SPEED_NORMAL | The constant corresponding to normal speed. |
| NAND_BANNER_ICON_ANIM_SPEED_FAST | The constant corresponding to fast speed. |
| NAND_BANNER_ICON_ANIM_SPEED_MASK | The animation speed mask bit. |
NANDBanner, NANDInitBanner, NANDSetIconSpeed
2006/09/19 Initial version.
CONFIDENTIAL