aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_button.h')
-rw-r--r--src/gwin/gwin_button.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gwin/gwin_button.h b/src/gwin/gwin_button.h
index dcbab682..0e46330b 100644
--- a/src/gwin/gwin_button.h
+++ b/src/gwin/gwin_button.h
@@ -40,6 +40,14 @@
typedef GEventGWin GEventGWinButton;
/**
+ * @brief The internal button flags
+ * @note Used only for writing a custom draw routine.
+ * @{
+ */
+#define GBUTTON_FLG_PRESSED (GWIN_FIRST_CONTROL_FLAG<<0)
+/** @} */
+
+/**
* @brief The button widget structure
* @note Do not use the members directly - treat it as a black-box.
*/