Skip to content

Commit 3204e88

Browse files
committed
Update sdlevents.inc
Renaming mouse coordinate fields in TSDL_MouseWheelEvent to match the C sources.
1 parent 6728144 commit 3204e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

units/sdlevents.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ type
285285
direction: cuint32; // Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back
286286
preciseX: cfloat; // The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18)
287287
preciseY: cfloat; // The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18)
288-
mouse_x: cint32; // X coordinate, relative to window (added in 2.26.0)
289-
mouse_y: cint32; // Y coordinate, relative to window (added in 2.26.0)
288+
mouseX: cint32; // X coordinate, relative to window (added in 2.26.0)
289+
mouseY: cint32; // Y coordinate, relative to window (added in 2.26.0)
290290
end;
291291

292292
{**

0 commit comments

Comments
 (0)