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

Structure: laProgressBarDirection_t 

A progress bar widget is a widget that can fill itself with a color based on a given percentage from 0-100. This is often used to visually illustrate the progress of some other activity over time.

C
typedef struct laProgressBarWidget_t {
  laWidget widget;
  laProgressBarDirection direction;
  uint32_t value;
  laProgressBar_ValueChangedEventCallback cb;
} laProgressBarWidget;
Members
Members 
Description 
laWidget widget; 
base widget class 
laProgressBarDirection direction; 
the fill direction of the bar 
uint32_t value; 
fill percentage 
laProgressBar_ValueChangedEventCallback cb; 
value changed callback 
Remarks

None.

MPLAB® Harmony Graphics Suite