diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-01-25 17:40:34 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-01-25 17:40:34 +1000 |
commit | b9f53aa7936686134f19c480346816a3d234f7f7 (patch) | |
tree | 84a51da605c4e3f54320a6ed793e8ffb6ba2aaac /src/gwin/gwin_options.h | |
parent | b316263833c95cf2b8cf14fe890321d5880aa81c (diff) | |
download | uGFX-b9f53aa7936686134f19c480346816a3d234f7f7.tar.gz uGFX-b9f53aa7936686134f19c480346816a3d234f7f7.tar.bz2 uGFX-b9f53aa7936686134f19c480346816a3d234f7f7.zip |
Add the ability to flash a gwin window/widget.
Only the button draws for checkbox's and radio's currently do anything about it.
Widget demo updated to show this on Checkbox 3 (the toggle button).
Diffstat (limited to 'src/gwin/gwin_options.h')
-rw-r--r-- | src/gwin/gwin_options.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gwin/gwin_options.h b/src/gwin/gwin_options.h index 9252e67a..106c5e06 100644 --- a/src/gwin/gwin_options.h +++ b/src/gwin/gwin_options.h @@ -328,6 +328,21 @@ #ifndef GWIN_TABSET_TABHEIGHT #define GWIN_TABSET_TABHEIGHT 18 #endif + /** + * @brief Should flashing of widgets be supported + * @details Defaults to FALSE + * @pre Requires GWIN_NEED_WINDOWMANAGER to be TRUE + */ + #ifndef GWIN_NEED_FLASHING + #define GWIN_NEED_FLASHING FALSE + #endif + /** + * @brief What is the period for the flashing timer + * @details Defaults to 250 milliseconds + */ + #ifndef GWIN_FLASHING_PERIOD + #define GWIN_FLASHING_PERIOD 250 + #endif /** @} */ #endif /* _GWIN_OPTIONS_H */ |