36 #ifndef TM_ILI9341_BUTTON_H
37 #define TM_ILI9341_BUTTON_H
53 #include "stm32f4xx.h"
54 #include "stm32f4xx_rcc.h"
55 #include "stm32f4xx_gpio.h"
57 #include "tm_stm32f4_i2c.h"
58 #include "tm_stm32f4_delay.h"
59 #include "tm_stm32f4_ili9341.h"
60 #include "tm_stm32f4_fonts.h"
61 #include "tm_stm32f4_stmpe811.h"
64 #ifndef TM_ILI9341_BUTTON_MAX_BUTTONS
65 #define TM_ILI9341_BUTTON_MAX_BUTTONS 10
69 #define TM_BUTTON_FLAG_ENABLED 0x0001 // Button is enabled - internal flag
70 #define TM_BUTTON_FLAG_NOBORDER 0x0002 // No border used in
71 #define TM_BUTTON_FLAG_IMAGE 0x0004 // Use image for background
72 #define TM_BUTTON_FLAG_NOLABEL 0x0008 // Do not display button label
73 #define TM_BUTTON_FLAG_USED 0x8000 // Button is used - internal flag
125 extern ErrorStatus TM_ILI9341_Button_Draw(uint8_t
id);
132 extern void TM_ILI9341_Button_DrawAll(
void);
140 extern void TM_ILI9341_Button_Enable(uint8_t
id);
148 extern void TM_ILI9341_Button_Disable(uint8_t
id);
155 extern void TM_ILI9341_Button_DeleteAll(
void);
163 extern void TM_ILI9341_Button_Delete(uint8_t
id);
Main structure, which is passed into TM_STMPE811_ReadTouch function.
Definition: tm_stm32f4_stmpe811.h:160
Font structure used on my LCD libraries.
Definition: tm_stm32f4_fonts.h:89