MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > b) Data Types and Constants > laImageSequenceWidget Structure
MPLAB® Harmony Graphics Suite
laImageSequenceWidget Structure

Enumeration: laImageSequenceWidget_t 

An image sequence widget is similar to an image widget with the additional capability of showing a sequence of images and automating the transition between them. 

This widget is dependent on the time value provided to laUpdate. If laUpdate is not provided with time information this widget will not be able to automatically cycle.

C
typedef struct laImageSequenceWidget_t {
  laWidget widget;
  uint32_t count;
  laImageSequenceEntry* images;
  int32_t activeIdx;
  laBool playing;
  uint32_t time;
  laBool repeat;
  laImageSequenceImageChangedEvent_FnPtr cb;
  GFXU_ExternalAssetReader* reader;
} laImageSequenceWidget;
Members
Members 
Description 
laWidget widget; 
widget base class 
uint32_t count; 
number of image entries for this widget 
laImageSequenceEntry* images; 
image entry array 
int32_t activeIdx; 
currently displayed entry 
laBool playing; 
indicates that the widget is automatically cycling 
uint32_t time; 
current cycle time 
laBool repeat; 
indicates that the sequence should repeat when it reaches the end of the sequence 
laImageSequenceImageChangedEvent_FnPtr cb; 
callback when the image changes 
GFXU_ExternalAssetReader* reader; 
asset reader pointer 
Remarks

None.

MPLAB® Harmony Graphics Suite