summaryrefslogtreecommitdiff
path: root/FL/Enumerations.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Enumerations.H')
-rw-r--r--FL/Enumerations.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H
index 178c561c3..5b7cb493a 100644
--- a/FL/Enumerations.H
+++ b/FL/Enumerations.H
@@ -455,7 +455,9 @@ enum Fl_Callback_Reason {
FL_REASON_CHANGED, ///< the value of the widget was modified
FL_REASON_GOT_FOCUS, ///< a widget received focus
FL_REASON_LOST_FOCUS, ///< a widget lost focus
- FL_REASON_RELEASED ///< the mouse button was released
+ FL_REASON_RELEASED, ///< the mouse button was released
+ FL_REASON_ENTER_KEY, ///< user finished input pressing Enter
+ FL_REASON_USER = 32 ///< user defined callback reasons
};
/**@}*/ // group: Callback Reasons