aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/gwin.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-05-20 07:01:20 +0200
committerJoel Bodenmann <joel@unormal.org>2013-05-20 07:01:20 +0200
commitd4e0ce8b70d58e1e39cf58d681486b4d8657820b (patch)
tree0ba9fb4ae90fc9cf8a40cf86eaa49a1931d4c0fb /include/gwin/gwin.h
parent4d4a78f415214c5fb55df02ebb9747e7878fb533 (diff)
downloaduGFX-d4e0ce8b70d58e1e39cf58d681486b4d8657820b.tar.gz
uGFX-d4e0ce8b70d58e1e39cf58d681486b4d8657820b.tar.bz2
uGFX-d4e0ce8b70d58e1e39cf58d681486b4d8657820b.zip
added gwin enabled parameter and implemented button enable/disable functions
Diffstat (limited to 'include/gwin/gwin.h')
-rw-r--r--include/gwin/gwin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h
index 43095643..c7b20008 100644
--- a/include/gwin/gwin.h
+++ b/include/gwin/gwin.h
@@ -45,6 +45,7 @@ typedef struct GWindowObject_t {
coord_t x, y; // Screen relative position
coord_t width, height; // Dimensions of this window
color_t color, bgcolor; // Current drawing colors
+ bool_t enabled; // Enabled/Disabled state
#if GDISP_NEED_TEXT
font_t font; // Current font
#endif