MiniGUI API Reference (MiniGUI-Processes)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the source code of this file.
Data Structures | |
struct | _ANIMATIONFRAME |
struct | _ANIMATION |
Macros | |
#define | CTRL_ANIMATION ("Animation") |
#define | ANIMATION_OKAY 0 |
#define | ANIMATION_ERR 1 |
#define | ANS_AUTOLOOP 0x0001L |
Loop playing the animation automatically. More... | |
#define | ANS_SCALED 0x0002L |
Scale the animation to the control size. More... | |
#define | ANS_FITTOANI 0x0004L |
Resize the control to fit the animation. More... | |
#define | ANS_WINBGC 0x0010L |
Use the background color of the window. More... | |
#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... | |
#define | ANNC_CLICKED 1 |
Indicates the user has clicked the control. More... | |
#define | ANNC_DBLCLK 2 |
Indicates the user has double clicked the control. More... | |
#define | ANNC_NOFRAME 3 |
Indicates that there is no frame to play. More... | |
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... | |
This file is part of MiniGUI, a mature cross-platform windowing and Graphics User Interface (GUI) support system for embedded systems and smart IoT devices. Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd. Copyright (C) 1998~2002, WEI Yongming This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Or, As this program is a library, any link to this program must follow GNU General Public License version 3 (GPLv3). If you cannot accept GPLv3, you need to be licensed from FMSoft. If you have got a commercial license of this program, please use it under the terms and conditions of the commercial license. For more information about the commercial license, please refer to <http://www.minigui.com/en/about/licensing-policy/>.
Definition in file animation.h.