Logo
MSP Graphics Library
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

uint32_t Graphics_ImageButton::borderColor

Border color, border is drawn if borderWidth >0

uint8_t Graphics_ImageButton::borderWidth

border width in pixels

Graphics_Image* Graphics_ImageButton::image

Pointer to the image

uint16_t Graphics_ImageButton::imageHeight

image height in pixels

uint16_t Graphics_ImageButton::imageWidth

image width in pixels

bool Graphics_ImageButton::selected

draws button with selected colors enabled

uint32_t Graphics_ImageButton::selectedColor

Background button color when selected

uint16_t Graphics_ImageButton::xPosition

x coordinate for upper left corner of button

uint16_t Graphics_ImageButton::yPosition

y coordinate for upper left corner of button


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