50 #ifndef EXT_ANIMATION_H 51 #define EXT_ANIMATION_H 189 #define CTRL_ANIMATION ("Animation") 192 #define ANIMATION_OKAY 0 194 #define ANIMATION_ERR 1 227 #define ANS_AUTOLOOP 0x0001L 233 #define ANS_SCALED 0x0002L 239 #define ANS_FITTOANI 0x0004L 245 #define ANS_WINBGC 0x0010L 270 #define ANM_SETANIMATION 0xF110 287 #define ANM_GETANIMATION 0xF111 306 #define ANM_STARTPLAY 0xF112 324 #define ANM_PAUSE_RESUME 0xF113 343 #define ANM_STOPPLAY 0xF114 345 #define ANM_MSGMAX 0xF120 357 #define ANNC_CLICKED 1 363 #define ANNC_DBLCLK 2 369 #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