diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-05 13:51:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-05 13:51:30 +0100 |
| commit | 8826dca1066361b474139bcc5aeed2e3a5246ed0 (patch) | |
| tree | 6819629ff3f9f014269c7cee090ab20a824af6ad /FL/names.h | |
| parent | 4d1a508c7e4d28fd53129da79f068a275d7160bd (diff) | |
Add close buttons for individual tabs in Fl_Tabs (#628)
Add close buttons for Fl_Tabs
Introducing callback reasons
FLUID shows all FL_WHEN_... options
Adding Fl_Tabs overflow types
Improved test/tabs to show new features
Diffstat (limited to 'FL/names.h')
| -rw-r--r-- | FL/names.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/FL/names.h b/FL/names.h index 9aaef5490..745ec2133 100644 --- a/FL/names.h +++ b/FL/names.h @@ -110,6 +110,27 @@ const char * const fl_fontnames[] = "FL_ZAPF_DINGBATS", }; +/** + This is an array of callback reason names you can use to convert font numbers into names. + + The array gets defined inline wherever your '\#include <FL/names.h>' appears. + */ +const char * const fl_callback_reason_names[] = +{ + "FL_REASON_UNKNOWN", + "FL_REASON_SELECTED", + "FL_REASON_DESELECTED", + "FL_REASON_RESELECTED", + "FL_REASON_OPENED", + "FL_REASON_CLOSED", + "FL_REASON_DRAGGED", + "FL_REASON_CANCELLED", + "FL_REASON_CHANGED", + "FL_REASON_GOT_FOCUS", + "FL_REASON_LOST_FOCUS", + "FL_REASON_RELEASED", +}; + /** @} */ #endif /* FL_NAMES_H */ |
