MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the documentation of this file.
62 #ifndef EXT_ANIMATION_H
63 #define EXT_ANIMATION_H
200 #define CTRL_ANIMATION ("Animation")
203 #define ANIMATION_OKAY 0
205 #define ANIMATION_ERR 1
238 #define ANS_AUTOLOOP 0x0001L
244 #define ANS_SCALED 0x0002L
250 #define ANS_FITTOANI 0x0004L
256 #define ANS_WINBGC 0x0010L
281 #define ANM_SETANIMATION 0xF110
298 #define ANM_GETANIMATION 0xF111
317 #define ANM_STARTPLAY 0xF112
335 #define ANM_PAUSE_RESUME 0xF113
354 #define ANM_STOPPLAY 0xF114
356 #define ANM_MSGMAX 0xF120
368 #define ANNC_CLICKED 1
374 #define ANNC_DBLCLK 2
380 #define ANNC_NOFRAME 3
struct _ANIMATIONFRAME * next
GHANDLE HDC
Handle to device context.
MG_EXPORT void DestroyAnimation(ANIMATION *anim, BOOL free_it)
Destories an ANIMATION object.
ANIMATION * CreateAnimationFromGIF89a(HDC hdc, MG_RWops *area)
Creates an ANIMATION obeject from a GIF 89a data source.
MG_EXPORT ANIMATION * CreateAnimationFromGIF89aFile(HDC hdc, const char *file)
Creates an ANIMATION obeject from a GIF 89a file.
struct _ANIMATION ANIMATION
unsigned char Uint8
A type definition for an 8-bit unsigned character.
int BOOL
A type definition for boolean value.
struct _ANIMATIONFRAME * prev
struct _ANIMATIONFRAME ANIMATIONFRAME
MG_EXPORT ANIMATION * CreateAnimationFromGIF89aMem(HDC hdc, const void *mem, int size)
Creates an ANIMATION obeject from a GIF 89a memory data.