62 #ifndef EXT_ANIMATION_H 63 #define EXT_ANIMATION_H 201 #define CTRL_ANIMATION ("Animation") 204 #define ANIMATION_OKAY 0 206 #define ANIMATION_ERR 1 239 #define ANS_AUTOLOOP 0x0001L 245 #define ANS_SCALED 0x0002L 251 #define ANS_FITTOANI 0x0004L 257 #define ANS_WINBGC 0x0010L 282 #define ANM_SETANIMATION 0xF110 299 #define ANM_GETANIMATION 0xF111 318 #define ANM_STARTPLAY 0xF112 336 #define ANM_PAUSE_RESUME 0xF113 355 #define ANM_STOPPLAY 0xF114 357 #define ANM_MSGMAX 0xF120 369 #define ANNC_CLICKED 1 375 #define ANNC_DBLCLK 2 381 #define ANNC_NOFRAME 3 ANIMATION * CreateAnimationFromGIF89a(HDC hdc, MG_RWops *area)
Creates an ANIMATION obeject from a GIF 89a data source.
int BOOL
A type definition for boolean value.
MG_EXPORT ANIMATION * CreateAnimationFromGIF89aFile(HDC hdc, const char *file)
Creates an ANIMATION obeject from a GIF 89a file.
MG_EXPORT ANIMATION * CreateAnimationFromGIF89aMem(HDC hdc, const void *mem, int size)
Creates an ANIMATION obeject from a GIF 89a memory data.
MG_EXPORT void DestroyAnimation(ANIMATION *anim, BOOL free_it)
Destories an ANIMATION object.
GHANDLE HDC
Handle to device context.
struct _ANIMATIONFRAME * prev
struct _ANIMATION ANIMATION
unsigned char Uint8
A type definition for an 8-bit unsigned character.
struct _ANIMATIONFRAME ANIMATIONFRAME
struct _ANIMATIONFRAME * next