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

Structure: laCircularGaugeWidget_t 

A circular gauge widget draws a circular gauge of the specified properties inside the widget bounds. All coordinates are expressed in local widget space.

C
typedef struct laCircularGaugeWidget_t {
  laWidget widget;
  int32_t value;
  int32_t startValue;
  int32_t endValue;
  uint32_t radius;
  uint32_t startAngle;
  int32_t centerAngle;
  laCircularGaugeWidgetDir dir;
  GFX_Bool ticksVisible;
  uint32_t tickLength;
  int32_t tickValue;
  laBool tickLabelsVisible;
  GFXU_StringTableAsset * stringTable;
  uint32_t ticksLabelsStringID;
  laBool handVisible;
  uint32_t handRadius;
  laBool centerCircleVisible;
  uint32_t centerCircleRadius;
  uint32_t centerCircleThickness;
  laArray arcsArray;
  laArray ticksArray;
  laArray labelsArray;
  laCircularGaugeWidget_ValueChangedEvent cb;
} laCircularGaugeWidget;
Members
Members 
Description 
laWidget widget; 
base widget header 
int32_t value; 
Widget properties 
uint32_t radius; 
the radius of the circular gauge 
uint32_t startAngle; 
the start angle of the outer arc 
int32_t centerAngle; 
the center angle of the outer arc 
laCircularGaugeWidgetDir dir; 
the turn direction of the gauge 
GFX_Bool ticksVisible; 
are ticks visible 
uint32_t tickLength; 
length of ticks (towards center) 
int32_t tickValue; 
tick value (delta) 
laBool tickLabelsVisible; 
are tick labels visible 
GFXU_StringTableAsset * stringTable; 
string table 
uint32_t ticksLabelsStringID; 
ID of Superset string containing numbers 
laBool handVisible; 
hand properties 
laArray arcsArray; 
ArcsArray list 
laArray ticksArray; 
ArcsArray list 
laArray labelsArray; 
ArcsArray list 
laCircularGaugeWidget_ValueChangedEvent cb; 
value changed event callback 
Remarks

None.

MPLAB® Harmony Graphics Suite