|
Classes |
struct | StatsStruct |
| 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...
|
Typedefs |
typedef struct StatsStruct * | StatsStructPtr |
Enumerations |
enum | JustifyType { kRightJustify = 0,
kLeftJustify
} |
Functions |
SpritePtr | CreateStatsSpriteClone (SpritePtr masterSpriteP, short numDigits, JustifyType justification, int fillWithZeros) |
SWError | SetUpStatsSprite (SpritePtr statsSpriteP, SpriteLayerPtr dstSpriteLayer, DrawProcPtr drawProcP, short horizLoc, short vertLoc, long theNum) |
void | SetStatsSpriteDrawProc (SpritePtr srcSpriteP, DrawProcPtr drawProc) |
void | SetStatsSpriteNumber (SpritePtr srcSpriteP, long newNumber) |
long | GetStatsSpriteNumber (SpritePtr srcSpriteP) |
void | StatsItemDrawProc (FramePtr srcFrameP, FramePtr dstFrameP, SWRect *srcRectP, SWRect *dstRectP) |
short | GetNumberLength (long theNum) |