MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros

Macros

#define ANM_SETANIMATION   0xF110
 Sets the animation object for the control. More...
 
#define ANM_GETANIMATION   0xF111
 Gets the animation object of the control. More...
 
#define ANM_STARTPLAY   0xF112
 Indicates the control to start playing the animation. More...
 
#define ANM_PAUSE_RESUME   0xF113
 Indicates the control to pause/resume playing the animation. More...
 
#define ANM_STOPPLAY   0xF114
 Indicates the control to stop playing the animation. More...
 

Detailed Description

Macro Definition Documentation

#define ANM_GETANIMATION   0xF111

Gets the animation object of the control.

An application can send ANM_GETANIMATION to retrive the animation object of a control.

1 ANM_GETANIMATION
2 
3 wParam = 0;
4 lParam = 0;
Returns
The current animation object of the control.

Definition at line 287 of file animation.h.

#define ANM_PAUSE_RESUME   0xF113

Indicates the control to pause/resume playing the animation.

An application can send ANM_PAUSE_RESUME to an animation control to pause/resume playing the animation.

1 ANM_PAUSE_RESUME
2 
3 wParam = 0;
4 lParam = 0;
Returns
Always be zero.

Definition at line 324 of file animation.h.

#define ANM_SETANIMATION   0xF110

Sets the animation object for the control.

An application can send ANM_SETANIMATION to set the animation object of a control.

1 ANM_SETANIMATION
2 ANIMATION* anim;
3 
4 wParam = 0;
5 lParam = (LPARAM)anim;
Returns
The old animation object.

Definition at line 270 of file animation.h.

#define ANM_STARTPLAY   0xF112

Indicates the control to start playing the animation.

The animation will not be played when create the control, an application should send ANM_STARTPLAY to an animation control to start playing the animation.

1 ANM_STARTPLAY
2 
3 wParam = 0;
4 lParam = 0;
Returns
Always be zero.

Definition at line 306 of file animation.h.

#define ANM_STOPPLAY   0xF114

Indicates the control to stop playing the animation.

An application can send ANM_STOPPLAY to an animation control to stop playing the animation. The control will display the first frame of the animation.

1 ANM_STOPPLAY
2 
3 wParam = 0;
4 lParam = 0;
Returns
Always be zero.

Definition at line 343 of file animation.h.