summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-05 16:37:38 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-05 16:37:38 +0200
commit5bcd6ca8f2578b959f64d12334cb5454d840ae7d (patch)
treeb5b2d5a1b010df6c4a0291d2c9088bf2bff6effb /FL
parent3049e6394a3376f7fff1c8cde19fd7bb1a9252ec (diff)
Revert "#733 partial: Adds rotation gesture event on MacOS"
This reverts commit 3049e6394a3376f7fff1c8cde19fd7bb1a9252ec as agreed upon in GitHub Issue #733.
Diffstat (limited to 'FL')
-rw-r--r--FL/Enumerations.H8
-rw-r--r--FL/names.h5
2 files changed, 3 insertions, 10 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H
index 7c0d867be..914fc6a56 100644
--- a/FL/Enumerations.H
+++ b/FL/Enumerations.H
@@ -407,13 +407,7 @@ enum Fl_Event { // events
/** A zoom event (ctrl/+/-/0/ or cmd/+/-/0/) was processed.
Use Fl::add_handler() to be notified of this event.
*/
- FL_ZOOM_EVENT = 27,
- /** The user has made a rotation gesture (Mac OS platform only).
- The Fl::event_dy() method can be used to find the rotation amount,
- Fl::event_x() and Fl::event_y() are set as well.
- This event is sent to the window's handle method.
- */
- FL_ROTATE_GESTURE = 28
+ FL_ZOOM_EVENT = 27
// DEV NOTE: Keep this list in sync with FL/names.h
};
diff --git a/FL/names.h b/FL/names.h
index f65444cdc..87bb5178e 100644
--- a/FL/names.h
+++ b/FL/names.h
@@ -73,10 +73,9 @@ const char * const fl_eventnames[] =
"FL_FULLSCREEN",
"FL_ZOOM_GESTURE",
"FL_ZOOM_EVENT",
- "FL_ROTATE_GESTURE",
+ "FL_EVENT_28", // not yet defined, just in case it /will/ be defined ...
"FL_EVENT_29", // not yet defined, just in case it /will/ be defined ...
- "FL_EVENT_30", // not yet defined, just in case it /will/ be defined ...
- "FL_EVENT_31" // not yet defined, just in case it /will/ be defined ...
+ "FL_EVENT_30" // not yet defined, just in case it /will/ be defined ...
};
/**