TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_ILI9341_Button_t Struct Reference

#include <tm_stm32f4_ili9341_button.h>

Data Fields

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_tfont
 
uint16_t color
 
uint16_t * image
 

Detailed Description

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