openTRI 0.1
|
ImageAnimation struct. More...
#include <triImage.h>
Data Fields | |
triImage * | image |
Pointer to current frame image for easy access. | |
triImageList * | frames |
List of animation frames. | |
triImageList * | curFrame |
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? |
ImageAnimation struct.