diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 4 | ||||
| -rw-r--r-- | FL/names.h | 5 |
2 files changed, 8 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 diff --git a/FL/names.h b/FL/names.h index 87bb5178e..15a491f84 100644 --- a/FL/names.h +++ b/FL/names.h @@ -134,6 +134,11 @@ const char * const fl_callback_reason_names[] = "FL_REASON_GOT_FOCUS", "FL_REASON_LOST_FOCUS", "FL_REASON_RELEASED", + "FL_REASON_ENTER_KEY", + NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + "FL_REASON_USER", "FL_REASON_USER+1", "FL_REASON_USER+2", "FL_REASON_USER+3", }; /** @} */ |
