summaryrefslogtreecommitdiff
path: root/FL/names.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-12-21 22:49:09 +0100
committerMatthias Melcher <github@matthiasm.com>2025-12-21 22:49:42 +0100
commit8ec5d86fe144528b47345d8defe1149a3b8deb87 (patch)
treea3535ccb93ba9bc06b3cd9803c532c6d8e562240 /FL/names.h
parent31760a98aca6daeee846906ef7af20395f641b65 (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.h2
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 ...