MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
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 69 of file animation.h.

Field Documentation

Uint8* bits

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

Definition at line 95 of file animation.h.

unsigned int delay_time

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

Definition at line 91 of file animation.h.

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 80 of file animation.h.

unsigned int height

The height of the frame.

Definition at line 88 of file animation.h.

HDC mem_dc

The memdc compatible with the gif image.

Definition at line 93 of file animation.h.

struct _ANIMATIONFRAME* next

The next frame

Definition at line 98 of file animation.h.

int off_x

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

Definition at line 82 of file animation.h.

int off_y

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

Definition at line 84 of file animation.h.

struct _ANIMATIONFRAME* prev

The previous frame

Definition at line 100 of file animation.h.

unsigned int width

The width of the frame.

Definition at line 86 of file animation.h.


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