80 #define BUTTON_SPACING 7
110 #define Y_SECOND Y_FIRST+25
126 #define Y_THIRD Y_SECOND+25
const char * text
The label of the button.
uint16_t txtcolor
The 16-bit text color.
void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
uint16_t y1
Top Left Y-Coordinate of Area.
static void b_our_tracking_cb(void *button)
void tft_print_line(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *text)
uint16_t x1
Top Left X-Coordinate of Area.
static void b_photo_mode_cb(void *button)
uint16_t bgcolor
The 16-bit background color of the button.
TOUCH_AREA_STRUCT base
Basic geometry of the button. You only need to set the x1, y1, x2, y2 members of this struct...
BUTTON_STRUCT b_photo_mode
uint16_t y2
Bottom Right Y-Coordinate of Area.
bool tft_draw_bitmap_file_unscaled(uint16_t x, uint16_t y, const char *filename)
void tft_clear(uint16_t color)
uint16_t x2
Bottom Right X-Coordinate of Area.
BUTTON_STRUCT b_ref_tracking
static void b_guitest_cb(void *button)
BUTTON_STRUCT b_our_tracking
static void b_pixytest_cb(void *button)
BUTTON_CALLBACK callback
Callback which is executed when the button is pressed.
static void b_ref_tracking_cb(void *button)
uint8_t font
The number of the font to use.
static void b_filetest_cb(void *button)