From b9f53aa7936686134f19c480346816a3d234f7f7 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 25 Jan 2015 17:40:34 +1000 Subject: 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). --- src/gwin/gwin_options.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/gwin/gwin_options.h') 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 */ -- cgit v1.2.3