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

Macros

#define ANM_SETANIMATION   0xF110
 Set the animation object for the control. More...
 
#define ANM_GETANIMATION   0xF111
 Get 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

Get 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 298 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 335 of file animation.h.

◆ ANM_SETANIMATION

#define ANM_SETANIMATION   0xF110

Set 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 281 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 317 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 354 of file animation.h.

ANM_STOPPLAY
#define ANM_STOPPLAY
Indicates the control to stop playing the animation.
Definition: animation.h:354
ANM_STARTPLAY
#define ANM_STARTPLAY
Indicates the control to start playing the animation.
Definition: animation.h:317
ANM_GETANIMATION
#define ANM_GETANIMATION
Get the animation object of the control.
Definition: animation.h:298
ANM_SETANIMATION
#define ANM_SETANIMATION
Set the animation object for the control.
Definition: animation.h:281
ANM_PAUSE_RESUME
#define ANM_PAUSE_RESUME
Indicates the control to pause/resume playing the animation.
Definition: animation.h:335
_ANIMATION
Definition: animation.h:115
LPARAM
UINT_PTR LPARAM
A type definition for the second message paramter.
Definition: common.h:712