openTRI 0.1
Data Fields
triImageAnimation Struct Reference

ImageAnimation struct. More...

#include <triImage.h>

Data Fields

triImageimage
 Pointer to current frame image for easy access.
 
triImageListframes
 List of animation frames.
 
triImageListcurFrame
 Current animation frame.
 
triU32 numFrames
 Number of frames.
 
triU16 width
 Maximum width of all frames.
 
triU16 height
 Maximum height of all frames.
 
triVoid * palette
 Global palette for all animation frames.
 
triU8 globalPalette
 Animation frames use a global palette.
 
triU8 palformat
 Global palette format - one of IMG_FORMAT_5650, IMG_FORMAT_5551, IMG_FORMAT_4444, IMG_FORMAT_8888.
 
triS16 loops
 Number of loops.
 
triS16 loopsDone
 Number of finished loops.
 
triS16 timeBase
 Time base of delays in µs (default 1000 = 1ms).
 
u64 lastUpdate
 Time of last update.
 
triBool playing
 Is animation playing?
 

Detailed Description

ImageAnimation struct.


The documentation for this struct was generated from the following file: