diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-12-21 22:49:09 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-12-21 22:49:42 +0100 |
| commit | 8ec5d86fe144528b47345d8defe1149a3b8deb87 (patch) | |
| tree | a3535ccb93ba9bc06b3cd9803c532c6d8e562240 /FL/names.h | |
| parent | 31760a98aca6daeee846906ef7af20395f641b65 (diff) | |
MacOS: Add FL_APP_ACTIVATE and DEACTIVATE.
This event is sent on application level. Add a handler
with Fl::add_handler to receive the event.
Diffstat (limited to 'FL/names.h')
| -rw-r--r-- | FL/names.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/names.h b/FL/names.h index 44f442a23..55e8c08b4 100644 --- a/FL/names.h +++ b/FL/names.h @@ -78,6 +78,8 @@ static std::map<int, const char*> fl_eventnames = { { FL_ZOOM_EVENT, "FL_ZOOM_EVENT" }, { FL_BEFORE_TOOLTIP, "FL_BEFORE_TOOLTIP" }, { FL_BEFORE_MENU, "FL_BEFORE_MENU" }, + { FL_APP_ACTIVATE, "FL_APP_ACTIVATE" }, + { FL_APP_DEACTIVATE, "FL_APP_DEACTIVATE" }, { /*FL_EVENT_*/ 30, "FL_EVENT_30" }, // not yet defined, just in case it /will/ be defined ... { /*FL_EVENT_*/ 31, "FL_EVENT_31" }, // not yet defined, just in case it /will/ be defined ... { /*FL_EVENT_*/ 32, "FL_EVENT_32" }, // not yet defined, just in case it /will/ be defined ... |
