1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<TITLE>CARDSetIconAnim</TITLE> 5<META content="text/html; charset=windows-1252" http-equiv="Content-Type"> 6<META content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows" name="GENERATOR"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9</HEAD> 10<BODY> 11<H1>CARDSetIconAnim</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><code>#include <revolution/card.h></CODE></PRE> 16 <DD> 17<PRE>#define CARDSetIconAnim(stat, f) \ 18((stat)->bannerFormat = (u8) (((stat)->bannerFormat &~CARD_STAT_ANIM_MASK )|(f)))</PRE> 19</DL> 20<H2>Arguments</H2> 21<TABLE border="1" cellpadding="3" cellspacing="0.1"> 22 <TBODY> 23 <TR> 24<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><CODE>stat</CODE></EM></STRONG></CODE></STRONG></EM></TD> 25<TD width="520">Pointer to a <a href="CARDStat.html"><code>CARDStat</code></a> structure.</TD> 26 </TR> 27 <TR> 28<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><CODE>f</CODE></EM></STRONG></CODE></STRONG></EM></TD> 29<TD width="520">Animation pattern.<br><code>CARD_STAT_ANIM_LOOP</code> will repeat from the beginning (123123123...). <BR><CODE>CARD_STAT_ANIM_BOUNCE</code> will loop back and forth (123212321...).</TD> 30 </TR> 31 </TBODY> 32</TABLE> 33<H2>Return Values</H2> 34<P>None.</P> 35<H2>Description</H2> 36<P>This function sets the animation pattern of the icons to the <a href="CARDStat.html"><code>CARDStat</code></a> structure.</P> 37<P><STRONG>Note:</STRONG> 38This function is provided for debugging. Do not use in programs.</P> 39<H2>See Also</H2> 40<H2>Revision History</H2> 41<P>03/01/2006 Initial version.</P></BODY> 42</HTML>