MPLAB® Harmony Graphics Suite
|
Structure: laCheckBoxWidget_t
A check box widget contains an interactive two-state box indicating on or off. The check box may also contain descriptive text. Custom images for the check box may be used in place of the default box graphic.
typedef struct laCheckBoxWidget_t { laWidget widget; laBool checked; laString text; laHAlignment halign; laVAlignment valign; GFXU_ImageAsset* checkedImage; GFXU_ImageAsset* uncheckedImage; laRelativePosition imagePosition; uint32_t imageMargin; GFXU_ExternalAssetReader* reader; laCheckBoxWidget_CheckedEvent checkedEvent; laCheckBoxWidget_CheckedEvent uncheckedEvent; } laCheckBoxWidget;
Members |
Description |
laWidget widget; |
base class properties |
laBool checked; |
the state of the box |
laString text; |
the text of the box |
laHAlignment halign; |
the horizontal alignment of the box contents |
laVAlignment valign; |
the vertical alignment of the box contents |
GFXU_ImageAsset* checkedImage; |
pointer to a custom image to use for the checked image |
GFXU_ImageAsset* uncheckedImage; |
pointer to a custom image to use for the unchecked image |
laRelativePosition imagePosition; |
postition of the image relative to the text of the box |
uint32_t imageMargin; |
the distance between the image and the text |
GFXU_ExternalAssetReader* reader; |
an external asset reader pointer |
laCheckBoxWidget_CheckedEvent checkedEvent; |
callback for checked events |
laCheckBoxWidget_CheckedEvent uncheckedEvent; |
callback for unchecked events |
None.
MPLAB® Harmony Graphics Suite
|