diff options
| author | Tectu <joel@unormal.org> | 2012-06-07 19:01:37 +0200 | 
|---|---|---|
| committer | Tectu <joel@unormal.org> | 2012-06-07 19:01:37 +0200 | 
| commit | 8c95db3a79e54d4df145b7b1c14627ab7b60f98b (patch) | |
| tree | 9d0e8b7bcef9d4e95a0db33fcfced00771f378ad /gui.h | |
| parent | c7eddd1bf3fd4676ea402a00b5025795e40739fb (diff) | |
| download | uGFX-8c95db3a79e54d4df145b7b1c14627ab7b60f98b.tar.gz uGFX-8c95db3a79e54d4df145b7b1c14627ab7b60f98b.tar.bz2 uGFX-8c95db3a79e54d4df145b7b1c14627ab7b60f98b.zip | |
implemented guiDrawButton()
Diffstat (limited to 'gui.h')
| -rw-r--r-- | gui.h | 10 | 
1 files changed, 9 insertions, 1 deletions
| @@ -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 | 
