aboutsummaryrefslogtreecommitdiffstats
path: root/gui.h
blob: 045d0f2d0ba87a82418cbf932aa187fb992af33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef GUI_H
#define GUI_H

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