|
MSP Graphics Library
|
This structure defines the characteristics of a Button. More...
#include <button.h>
Data Fields | |
| uint16_t | xMin |
| uint16_t | xMax |
| uint16_t | yMin |
| uint16_t | yMax |
| uint8_t | borderWidth |
| bool | selected |
| uint32_t | fillColor |
| uint32_t | borderColor |
| uint32_t | selectedColor |
| uint32_t | textColor |
| uint32_t | selectedTextColor |
| uint16_t | textXPos |
| uint16_t | textYPos |
| int8_t * | text |
| const Graphics_Font * | font |
This structure defines the characteristics of a Button.
| uint32_t Graphics_Button::borderColor |
Border color, border is drawn if borderWidth >0
| uint8_t Graphics_Button::borderWidth |
border width
| uint32_t Graphics_Button::fillColor |
Background button color when not selected
| const Graphics_Font* Graphics_Button::font |
Font for text to be displayed in button
| bool Graphics_Button::selected |
draws button with selected colors enabled
| uint32_t Graphics_Button::selectedColor |
Background button color when selected
| uint32_t Graphics_Button::selectedTextColor |
Selected text color
| int8_t* Graphics_Button::text |
Text to be displayed in button
| uint32_t Graphics_Button::textColor |
Text color
| uint16_t Graphics_Button::textXPos |
x coordinate for text upper left corner
| uint16_t Graphics_Button::textYPos |
y coordinate for text upper left corner
| uint16_t Graphics_Button::xMax |
x coordinate for lower right corner of button
| uint16_t Graphics_Button::xMin |
x coordinate for upper left corner of button
| uint16_t Graphics_Button::yMax |
y coordinate for lower right corner of button
| uint16_t Graphics_Button::yMin |
y coordinate for upper left corner of button