aboutsummaryrefslogtreecommitdiffstats
path: root/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gui.h b/gui.h
index 3a6835ca..045d0f2d 100644
--- a/gui.h
+++ b/gui.h
@@ -1,7 +1,15 @@
#ifndef GUI_H
#define GUI_H
-void guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, unsigned char *str, uint16_t fontColor, uint16_t buttonColor, uint8_t *state);
+struct buttonStruct_t {
+ uint16_t x0;
+ uint16_t y0;
+ uint16_t x1;
+ uint16_t y1;
+ uint8_t *state;
+};
+
+Thread *guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, unsigned char *str, uint16_t fontColor, uint16_t buttonColor, uint8_t *state);
#endif