Data Fields
Graphics_Button Struct Reference

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

#include <button.h>

Collaboration diagram for Graphics_Button:
Collaboration graph
[legend]

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_Fontfont
 

Detailed Description

This structure defines the characteristics of a Button.

Field Documentation

§ xMin

uint16_t Graphics_Button::xMin

x coordinate for upper left corner of button

Referenced by Graphics_drawButton(), Graphics_drawReleasedButton(), Graphics_drawSelectedButton(), and Graphics_isButtonSelected().

§ xMax

uint16_t Graphics_Button::xMax

x coordinate for lower right corner of button

Referenced by Graphics_drawButton(), Graphics_drawReleasedButton(), Graphics_drawSelectedButton(), and Graphics_isButtonSelected().

§ yMin

uint16_t Graphics_Button::yMin

y coordinate for upper left corner of button

Referenced by Graphics_drawButton(), Graphics_drawReleasedButton(), Graphics_drawSelectedButton(), and Graphics_isButtonSelected().

§ yMax

uint16_t Graphics_Button::yMax

y coordinate for lower right corner of button

Referenced by Graphics_drawButton(), Graphics_drawReleasedButton(), Graphics_drawSelectedButton(), and Graphics_isButtonSelected().

§ borderWidth

uint8_t Graphics_Button::borderWidth

§ selected

bool Graphics_Button::selected

draws button with selected colors enabled

§ fillColor

uint32_t Graphics_Button::fillColor

Background button color when not selected

§ borderColor

uint32_t Graphics_Button::borderColor

Border color, border is drawn if borderWidth >0

§ selectedColor

uint32_t Graphics_Button::selectedColor

Background button color when selected

§ textColor

uint32_t Graphics_Button::textColor

Text color

§ selectedTextColor

uint32_t Graphics_Button::selectedTextColor

Selected text color

§ textXPos

uint16_t Graphics_Button::textXPos

x coordinate for text upper left corner

§ textYPos

uint16_t Graphics_Button::textYPos

y coordinate for text upper left corner

§ text

int8_t* Graphics_Button::text

Text to be displayed in button

§ font

const Graphics_Font* Graphics_Button::font

Font for text to be displayed in button


The documentation for this struct was generated from the following file:
Copyright 2018, Texas Instruments Incorporated