Gifs...


Functions

u16 PA_GetGifWidth (void *gif)
 Get a Gif's width in pixels
u16 PA_GetGifHeight (void *gif)
 Get a Gif's height in pixels
void PA_LoadGif (u8 screen, void *gif)
 Load a Gif on a 16 bit background... Don't forget to Init the background !
void PA_GifAnimSpeed (float speed)
 Set the gif's speed
void PA_GifAnimStop (void)
 Stop a Gif animation
void PA_GifAnimPause (void)
 Pause a Gif animation
s32 PA_GifGetFrame (void)
 Return's the gif's current frame

Detailed Description

Manages everything about gif files.

Function Documentation

inline u16 PA_GetGifHeight void *  gif  )  [inline]
 

Get a Gif's height in pixels

Parameters:
gif Gif image...

inline u16 PA_GetGifWidth void *  gif  )  [inline]
 

Get a Gif's width in pixels

Parameters:
gif Gif image...

inline void PA_GifAnimPause void   )  [inline]
 

Pause a Gif animation

inline void PA_GifAnimSpeed float  speed  )  [inline]
 

Set the gif's speed

Parameters:
speed 1 for normal, 2 for 2x, 0.5 for half speed...

inline void PA_GifAnimStop void   )  [inline]
 

Stop a Gif animation

inline s16 PA_GifGetFrame void   )  [inline]
 

Return's the gif's current frame

inline void PA_LoadGif u8  screen,
void *  gif
[inline]
 

Load a Gif on a 16 bit background... Don't forget to Init the background !

Parameters:
screen Chose de screen (0 or 1)
gif Gif image...


Generated on Tue Jan 30 23:10:11 2007 for PAlib by  doxygen 1.3.9.1