NANDSetIconSpeed

Syntax

#include <revolution/nand.h>

#define NANDSetIconSpeed(stat, n, f)  ((stat)->iconSpeed  = (u16) (((stat)->iconSpeed  & ~(NAND_BANNER_ICON_ANIM_SPEED_MASK << (2 * (n)))) | ((f) << (2 * (n)))))

Arguments

stat Pointer to the NANDBanner structure
n The icon index.
f One of the NAND_BANNER_ICON_ANIM_SPEED_* speeds

Description

Sets the duration for how long icon will be 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.

See Also

NANDBanner, NANDInitBanner, NANDGetIconSpeed

Revision History

2006/09/19 Initial version.


CONFIDENTIAL