aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_checkbox.h')
-rw-r--r--src/gwin/gwin_checkbox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gwin/gwin_checkbox.h b/src/gwin/gwin_checkbox.h
index 10401624..48807239 100644
--- a/src/gwin/gwin_checkbox.h
+++ b/src/gwin/gwin_checkbox.h
@@ -45,6 +45,14 @@ typedef struct GEventGWinCheckbox {
bool_t isChecked; // Is the checkbox currently checked or unchecked?
} GEventGWinCheckbox;
+/**
+ * @brief The internal checkbox flags
+ * @note Used only for writing a custom draw routine.
+ * @{
+ */
+#define GCHECKBOX_FLG_CHECKED (GWIN_FIRST_CONTROL_FLAG<<0)
+/** @} */
+
/* A Checkbox window */
typedef struct GCheckboxObject {
GWidgetObject w;