StatsStruct Struct Reference

This structure is used for each stats box to tell the digit-drawing routines where to draw the numbers, and what number to draw. More...

#include <SWStats.h>

List of all members.

Public Attributes

SpriteRec srcSpriteP
 the Sprite
long theNum
 the current number (up to 10 digits long)
short numDigits
 how many digits can fit in the box
JustifyType justification
 right or left justified
int fillWithZeros
 whether to display as 001 or just 1.
DrawProcPtr drawProc
 the DrawProc used to draw each digit


Detailed Description

This structure is used for each stats box to tell the digit-drawing routines where to draw the numbers, and what number to draw.


Member Data Documentation

DrawProcPtr StatsStruct::drawProc
 

the DrawProc used to draw each digit

int StatsStruct::fillWithZeros
 

whether to display as 001 or just 1.

JustifyType StatsStruct::justification
 

right or left justified

short StatsStruct::numDigits
 

how many digits can fit in the box

SpriteRec StatsStruct::srcSpriteP
 

the Sprite

long StatsStruct::theNum
 

the current number (up to 10 digits long)


Generated on Sun Jun 18 14:11:05 2006 for SpriteWorld X by  doxygen 1.4.6