aboutsummaryrefslogtreecommitdiffstats
path: root/gui.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-26 20:47:35 +0200
committerTectu <joel@unormal.org>2012-06-26 20:47:35 +0200
commitcc7943305eab42fd6f687a4dda1f19857ae0efb7 (patch)
tree596577f91b87323707bc557461bb1ec85ba78ac7 /gui.h
parent969377866601ce3bf1bd15de5a97b291b0f11560 (diff)
downloaduGFX-cc7943305eab42fd6f687a4dda1f19857ae0efb7.tar.gz
uGFX-cc7943305eab42fd6f687a4dda1f19857ae0efb7.tar.bz2
uGFX-cc7943305eab42fd6f687a4dda1f19857ae0efb7.zip
added type of GUI element
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.h b/gui.h
index 54031295..a95e9d36 100644
--- a/gui.h
+++ b/gui.h
@@ -7,6 +7,7 @@
#include "touchpad.h"
static struct guiNode_t {
+ uint8_t type;
uint16_t x0;
uint16_t y0;
uint16_t x1;
@@ -21,6 +22,7 @@ static struct guiNode_t {
extern "C" {
#endif
+enum {button};
enum {horizontal, vertical};
enum {inactive, active};