The mouse moved to (x, y) (-1 to 1 across the window, y up), with the buttons held (left, middle, right): moving (none held, OpenFrames' mouse motion) or dragging.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowEventHandler), | intent(inout) | :: | self | |||
| class(WindowProxy), | intent(inout) | :: | window |
the window of the event |
||
| real(kind=wp), | intent(in) | :: | x |
-1 to 1 across the window, y up |
||
| real(kind=wp), | intent(in) | :: | y |
-1 to 1 across the window, y up |
||
| logical, | intent(in) | :: | buttons(3) |
(held: left, middle, right) |
subroutine handler_mouse_motion(self, window, x, y, buttons) class(WindowEventHandler), intent(inout) :: self class(WindowProxy), intent(inout) :: window !! the window of the event real(wp), intent(in) :: x, y !! -1 to 1 across the window, y up logical, intent(in) :: buttons(3) !! (held: left, middle, right) end subroutine handler_mouse_motion