diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-08-29 22:50:07 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-08-29 22:50:12 +0200 |
| commit | b5a1da961200e870a28f09b2fba4197e73c9935d (patch) | |
| tree | c18917f0dea7f8203d020d60a2ff1d6c2cd12ff6 /FL | |
| parent | be657471e761462d91c62e8cd00519e5dbda82a0 (diff) | |
FLUID: minor fixes
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", }; /** @} */ |
