diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2015-04-01 15:32:06 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2015-04-01 15:32:06 +0000 |
| commit | d44b518c070b9b92f7aefca7e7a66c0b67366b62 (patch) | |
| tree | 55670af4e7b035d7533fbd64590e96d3b8e0fb62 /FL/Enumerations.H | |
| parent | b712d85d280e17ee24f728ada654dbec2641f8e9 (diff) | |
Added FL_ZOOM_GESTURE gesture for OS X.
Sadly, I have not commited any code in years, and despite the rumour that
I was hit by a train, or worse, move on to Qt, here I am, commmiting unwanted
code. Hopefully there are equivalents for this on other platforms?!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Enumerations.H')
| -rw-r--r-- | FL/Enumerations.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 6419b65a4..da479a327 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -300,7 +300,12 @@ enum Fl_Event { // events FL_SCREEN_CONFIGURATION_CHANGED = 24, /** The fullscreen state of the window has changed */ - FL_FULLSCREEN = 25 + FL_FULLSCREEN = 25, + /** The user has made a zoom/pinch/magnification gesture. + The Fl::event_dy() method can be used to find magnification amount, + Fl::event_x() and Fl::event_y() are set as well. + */ + FL_ZOOM_GESTURE = 26 }; /** \name When Conditions */ |
