|
MiniGUI API Reference (MiniGUI-Processes)
v4.0.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Modules | |
| Styles of ANIMATION control | |
| Messages of ANIMATION control | |
| Notification code of ANIMATION control | |
Data Structures | |
| struct | _ANIMATIONFRAME |
| struct | _ANIMATION |
Macros | |
| #define | CTRL_ANIMATION ("Animation") |
| #define | ANIMATION_OKAY 0 |
| #define | ANIMATION_ERR 1 |
Typedefs | |
| typedef struct _ANIMATIONFRAME | ANIMATIONFRAME |
| typedef struct _ANIMATION | ANIMATION |
Functions | |
| ANIMATION * | CreateAnimationFromGIF89a (HDC hdc, MG_RWops *area) |
| Creates an ANIMATION obeject from a GIF 89a data source. More... | |
| MG_EXPORT ANIMATION * | CreateAnimationFromGIF89aFile (HDC hdc, const char *file) |
| Creates an ANIMATION obeject from a GIF 89a file. More... | |
| MG_EXPORT ANIMATION * | CreateAnimationFromGIF89aMem (HDC hdc, const void *mem, int size) |
| Creates an ANIMATION obeject from a GIF 89a memory data. More... | |
| MG_EXPORT void | DestroyAnimation (ANIMATION *anim, BOOL free_it) |
| Destories an ANIMATION object. More... | |
| #define ANIMATION_ERR 1 |
Return values of ANIMATION control.
Definition at line 206 of file animation.h.
| #define ANIMATION_OKAY 0 |
Return values of ANIMATION control.
Definition at line 204 of file animation.h.
| #define CTRL_ANIMATION ("Animation") |
Control class name of ANIMATION control.
Definition at line 201 of file animation.h.
| typedef struct _ANIMATION ANIMATION |
Animation structure
| typedef struct _ANIMATIONFRAME ANIMATIONFRAME |
Animation frame structure.
Creates an ANIMATION obeject from a GIF 89a data source.
This function load a GIF 89a graphic from the data source area, and create an ANIMATION object from the GIF 89a data.
| hdc | The dc will be used to create BITMAP object for the animation frame. |
| area | The data source. |
Creates an ANIMATION obeject from a GIF 89a file.
This function load a GIF 89a graphic from the file file, and create an ANIMATION object.
| hdc | The dc will be used to create BITMAP object for the animation frame. |
| file | The file name. |
Creates an ANIMATION obeject from a GIF 89a memory data.
This function load a GIF 89a graphic from the memory mem which is size long and create an ANIMATION object from the GIF 89a data.
| hdc | The dc will be used to create BITMAP object for the animation frame. |
| mem | The pointer to the memory. |
| size | The size of the memory. |
Destories an ANIMATION object.
This function destroies the ANIMATION object anim, and free it if free_it is TRUE.
| anim | Pointer to the ANIMATION object. |
| free_it | Specify whether free the object by calling free(3). |
1.8.13