#include <tm_stm32f4_ili9341_button.h>
|
|
uint16_t | x |
| |
|
uint16_t | y |
| |
|
uint16_t | width |
| |
|
uint16_t | height |
| |
|
uint16_t | background |
| |
|
uint16_t | borderColor |
| |
|
uint16_t | flags |
| |
|
char * | label |
| |
|
TM_FontDef_t * | font |
| |
|
uint16_t | color |
| |
|
uint16_t * | image |
| |
Button options struct
Parameters:
- uint16_t x: X coordinate of top left button corner
- uint16_t y: Y coordinate of top left button corner
- uint16_t width: button width in pixels
- uint16_t height: button height in pixels
- uint16_t background: 16bit background color
- uint16_t borderColor: 16bit border color
- uint16_t flags: Button flags
- char *label: pointer to first character of label
- TM_FontDef_t *font: pointer to font structure
- uint16_t color: label color
- uint16_t *image: pointer to location at first color for pixel