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

Structure: laCircularSliderWidget_t 

A slider widget draws a slider of the specified origin and radius inside the widget bounds. All coordinates are expressed in local widget space. 

The color of the slider is determined by the widget scheme's 'foreground' color.

C
typedef struct laCircularSliderWidget_t {
  laWidget widget;
  uint32_t radius;
  uint32_t startAngle;
  uint32_t value;
  uint32_t startValue;
  uint32_t endValue;
  float degPerUnit;
  laBool roundEdges;
  laBool sticky;
  laBool buttonTouch;
  laCircularSliderWidgetDir direction;
  laCircularSliderArc activeArc;
  laCircularSliderArc inActiveArc;
  laCircularSliderArc outsideBorderArc;
  laCircularSliderArc insideBorderArc;
  laCircularSliderArc circleButtonArc;
  laCircularSliderButtonState btnState;
  laCircularSliderWidget_PressedEvent pressedCallback;
  laCircularSliderWidget_ValueChangedEvent valueChangedCallback;
  laCircularSliderWidget_ReleasedEvent releasedCallback;
} laCircularSliderWidget;
Members
Members 
Description 
laWidget widget; 
base widget header 
uint32_t radius; 
the radius of the slider 
uint32_t startAngle; 
the start angle of the slider 
uint32_t value; 
the value of the slider 
uint32_t startValue; 
the start value of the slider 
uint32_t endValue; 
the end value of the slider 
float degPerUnit; 
degrees per unit in the slider 
laBool roundEdges; 
round edges 
laBool sticky; 
snaps to start value before wrapping around 
laBool buttonTouch; 
only button is active to touch 
laCircularSliderWidgetDir direction; 
the direction of the slider 
laCircularSliderArc activeArc; 
the arc for the slider value 
laCircularSliderArc inActiveArc; 
the arc for the slider remainder 
laCircularSliderArc outsideBorderArc; 
the arc for the outside border 
laCircularSliderArc insideBorderArc; 
the arc for the inside border 
laCircularSliderArc circleButtonArc; 
the arc for the circle button 
laCircularSliderButtonState btnState; 
the state of the circular slider button 
Remarks

None.

MPLAB® Harmony Graphics Suite