1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>NANDGetIconSpeed</title> 9</head> 10 11<body> 12 13<h1>NANDGetIconSpeed</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/nand.h> 18 19#define NANDGetIconSpeed(stat, n) (((stat)->iconSpeed >> (2 * (n))) & NAND_BANNER_ICON_ANIM_SPEED_MASK) 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>stat</TH> 27<TD>Pointer to the <a href="./NANDBanner.html"><CODE>NANDBanner</CODE></a> structure</TD> 28 </tr> 29 <tr> 30<TH>n</TH> 31<TD>The icon index.</TD> 32 </tr> 33</TABLE> 34</p> 35 36<H2>Description</H2> 37<p> 38Gets the duration of time the graphic of the icon is displayed. 39</p> 40 41<p> 42Here is the list of related macro constants: 43<TABLE class="arguments" border="1" > 44 <tbody> 45 <tr> 46<td bgcolor="#C0C0C0">Macro name</td> 47<td bgcolor="#C0C0C0">Description</td> 48 </tr> 49 <tr> 50<th>NAND_BANNER_ICON_ANIM_SPEED_END</th> 51<td>The constant that indicates the end of the data when there are fewer than eight icons.</td> 52 </tr> 53 <tr> 54<th>NAND_BANNER_ICON_ANIM_SPEED_SLOW</th> 55<td>The constant corresponding to slow speed.</td> 56 </tr> 57 <tr> 58<th>NAND_BANNER_ICON_ANIM_SPEED_NORMAL</th> 59<td>The constant corresponding to normal speed.</td> 60 </tr> 61 <tr> 62<th>NAND_BANNER_ICON_ANIM_SPEED_FAST</th> 63<td>The constant corresponding to fast speed.</td> 64 </tr> 65 <tr> 66<th>NAND_BANNER_ICON_ANIM_SPEED_MASK</th> 67<td>The animation speed mask bit.</td> 68 </tr> 69 </tbody> 70</table> 71</p> 72 73<h2>See Also</h2> 74<p class="reference"> 75<a href="./NANDBanner.html">NANDBanner</a>, 76<a href="./NANDInitBanner.html">NANDInitBanner</a>, 77<a href="./NANDSetIconSpeed.html">NANDSetIconSpeed</a> 78</p> 79 80<H2>Revision History</H2> 81<p> 822006/09/19 Initial version.<BR> 83</p> 84 85<hr><p>CONFIDENTIAL</p></body> 86</html> 87