From 05d78e8ebdf2d695bd2b3a448ed95bece4f544bb Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 7 Oct 2024 16:13:11 +0200 Subject: Improve documentation on mouse and keyboard events --- documentation/src/enumerations.dox | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'documentation/src/enumerations.dox') diff --git a/documentation/src/enumerations.dox b/documentation/src/enumerations.dox index 889be58be..e9e7e87b5 100644 --- a/documentation/src/enumerations.dox +++ b/documentation/src/enumerations.dox @@ -95,9 +95,11 @@ The following constants determine when a callback is performed: The following constants define the button numbers for FL_PUSH and FL_RELEASE events: - - FL_LEFT_MOUSE - the left mouse button - - FL_MIDDLE_MOUSE - the middle mouse button - - FL_RIGHT_MOUSE - the right mouse button + - FL_LEFT_MOUSE - the left mouse button + - FL_MIDDLE_MOUSE - the middle mouse button + - FL_RIGHT_MOUSE - the right mouse button + - FL_BACK_MOUSE - the back mouse button (side button 1) + - FL_FORWARD_MOUSE - the forward mouse button (side button 2) \section enumerations_event_key Fl::event_key() Values @@ -140,6 +142,7 @@ FL_KEYBOARD and FL_SHORTCUT events: - FL_Alt_L - The left alt key. - FL_Alt_R - The right alt key. - FL_Delete - The delete key. + - FL_Alt_Gr - The AltGr key on some international keyboards. \section enumerations_event_state Fl::event_state() Values @@ -161,7 +164,9 @@ value: - FL_BUTTON1 - Mouse button 1 is pushed. - FL_BUTTON2 - Mouse button 2 is pushed. - FL_BUTTON3 - Mouse button 3 is pushed. - - FL_BUTTONS - Any mouse button is pushed. + - FL_BUTTON4 - Mouse button 4 (back) is pushed. + - FL_BUTTON5 - Mouse button 5 (forward) is pushed. + - FL_BUTTONS - Any mouse button (1..5) is pushed. - FL_BUTTON(n) - Mouse button \p n ( where n > 0) is pushed. \section enumerations_alignment Alignment Values -- cgit v1.2.3