Data Fields
Graphics_ImageButton Struct Reference

This structure defines the characteristics of a ImageButton. More...

#include <imageButton.h>

Data Fields

uint16_t xPosition
 
uint16_t yPosition
 
uint8_t borderWidth
 
bool selected
 
uint16_t imageHeight
 
uint16_t imageWidth
 
uint32_t borderColor
 
uint32_t selectedColor
 
Graphics_Imageimage
 

Detailed Description

This structure defines the characteristics of a ImageButton.

Field Documentation

uint16_t Graphics_ImageButton::xPosition
uint16_t Graphics_ImageButton::yPosition
uint8_t Graphics_ImageButton::borderWidth
bool Graphics_ImageButton::selected

draws button with selected colors enabled

Referenced by Graphics_drawImageButton().

uint16_t Graphics_ImageButton::imageHeight
uint16_t Graphics_ImageButton::imageWidth
uint32_t Graphics_ImageButton::borderColor

Border color, border is drawn if borderWidth >0

Referenced by Graphics_drawImageButton(), and Graphics_drawReleasedImageButton().

uint32_t Graphics_ImageButton::selectedColor

Background button color when selected

Referenced by Graphics_drawImageButton(), and Graphics_drawSelectedImageButton().

Graphics_Image* Graphics_ImageButton::image

The documentation for this struct was generated from the following file:

Copyright 2016, Texas Instruments Incorporated