aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/sys_rules.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-05-08 14:37:13 +0200
committerJoel Bodenmann <joel@unormal.org>2014-05-08 14:37:13 +0200
commit5979acc7f6f1b2d2c76ff80c651b78516335b567 (patch)
tree91d666b5682885c0c774dcc5548df1c1c7ef8e1c /src/gwin/sys_rules.h
parent15baf7a5c72cace67403e939c90140a4f35f9f22 (diff)
downloaduGFX-5979acc7f6f1b2d2c76ff80c651b78516335b567.tar.gz
uGFX-5979acc7f6f1b2d2c76ff80c651b78516335b567.tar.bz2
uGFX-5979acc7f6f1b2d2c76ff80c651b78516335b567.zip
Introducing GWIN_PROGRESSBAR_AUTO for the automatic incremental function of the progressbar widget
Diffstat (limited to 'src/gwin/sys_rules.h')
-rw-r--r--src/gwin/sys_rules.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gwin/sys_rules.h b/src/gwin/sys_rules.h
index 77f029f0..30dac1bb 100644
--- a/src/gwin/sys_rules.h
+++ b/src/gwin/sys_rules.h
@@ -93,6 +93,11 @@
#endif
#if GWIN_NEED_GRAPH
#endif
+ #if GWIN_PROGRESSBAR_AUTO
+ #if !GFX_USE_GTIMER
+ #error "GWIN: GFX_USE_GTIMER is required if GWIN_PROGRESSBAR_AUTO is TRUE."
+ #endif
+ #endif
#endif
#endif /* _GWIN_RULES_H */