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_Image * | image |
This structure defines the characteristics of a ImageButton.
uint16_t Graphics_ImageButton::xPosition |
x coordinate for upper left corner of button
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedImageButton(), and Graphics_isImageButtonSelected().
uint16_t Graphics_ImageButton::yPosition |
y coordinate for upper left corner of button
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedImageButton(), and Graphics_isImageButtonSelected().
uint8_t Graphics_ImageButton::borderWidth |
border width in pixels
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedImageButton(), and Graphics_isImageButtonSelected().
bool Graphics_ImageButton::selected |
draws button with selected colors enabled
Referenced by Graphics_drawImageButton().
uint16_t Graphics_ImageButton::imageHeight |
image height in pixels
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedImageButton(), and Graphics_isImageButtonSelected().
uint16_t Graphics_ImageButton::imageWidth |
image width in pixels
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedImageButton(), and Graphics_isImageButtonSelected().
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 |
Pointer to the image
Referenced by Graphics_drawImageButton(), Graphics_drawReleasedImageButton(), and Graphics_drawSelectedImageButton().