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

#include <animation.h>

Data Fields

int disposal
 
int off_x
 
int off_y
 
unsigned int width
 
unsigned int height
 
unsigned int delay_time
 
HDC mem_dc
 
Uint8bits
 
struct _ANIMATIONFRAMEnext
 
struct _ANIMATIONFRAMEprev
 

Detailed Description

Animation frame structure.

Definition at line 80 of file animation.h.

Field Documentation

◆ bits

Uint8* bits

The bits of the mem_dc, should be freed after deleting the mem_dc.

Definition at line 106 of file animation.h.

◆ delay_time

unsigned int delay_time

The time of the frame will be display, in the unit of animation time_unit.

Definition at line 102 of file animation.h.

◆ disposal

int disposal

The disposal method (from GIF89a specification): Indicates the way in which the graphic is to be treated after being displayed.

  • 0
    No disposal specified. The decoder is not required to take any action.
  • 1
    Do not dispose. The graphic is to be left in place.
  • 2
    Restore to background color. The area used by the frame must be restored to the background color.
  • 3
    Restore to previous. The decoder is required to restore the area overwritten by the frmae with what was there prior to rendering the frame.

Definition at line 91 of file animation.h.

◆ height

unsigned int height

The height of the frame.

Definition at line 99 of file animation.h.

◆ mem_dc

HDC mem_dc

The memdc compatible with the gif image.

Definition at line 104 of file animation.h.

◆ next

struct _ANIMATIONFRAME* next

The next frame

Definition at line 109 of file animation.h.

◆ off_x

int off_x

The x-coordinate of top-left corner of the frame in whole animation screen.

Definition at line 93 of file animation.h.

◆ off_y

int off_y

The y-coordinate of top-left corner of the frame in whole animation screen.

Definition at line 95 of file animation.h.

◆ prev

struct _ANIMATIONFRAME* prev

The previous frame

Definition at line 111 of file animation.h.

◆ width

unsigned int width

The width of the frame.

Definition at line 97 of file animation.h.


The documentation for this struct was generated from the following file: