MiniGUI API Reference (MiniGUI-Standalone)  v4.0.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

◆ ANM_GETANIMATION

#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.

wParam = 0;
lParam = 0;
Returns
The current animation object of the control.

Definition at line 299 of file animation.h.

◆ ANM_PAUSE_RESUME

#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.

wParam = 0;
lParam = 0;
Returns
Always be zero.

Definition at line 336 of file animation.h.

◆ ANM_SETANIMATION

#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.

ANIMATION* anim;
wParam = 0;
lParam = (LPARAM)anim;
Returns
The old animation object.

Definition at line 282 of file animation.h.

◆ ANM_STARTPLAY

#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.

wParam = 0;
lParam = 0;
Returns
Always be zero.

Definition at line 318 of file animation.h.

◆ ANM_STOPPLAY

#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.

wParam = 0;
lParam = 0;
Returns
Always be zero.

Definition at line 355 of file animation.h.