[Scummvm-git-logs] scummvm master -> 2f8d0219e5ab008f5b459c7b71509f53d2709ec4
sev-
noreply at scummvm.org
Fri Sep 27 14:00:14 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2f8d0219e5 BACKENDS: SDL: Fix warnings
Commit: 2f8d0219e5ab008f5b459c7b71509f53d2709ec4
https://github.com/scummvm/scummvm/commit/2f8d0219e5ab008f5b459c7b71509f53d2709ec4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-09-27T15:59:55+02:00
Commit Message:
BACKENDS: SDL: Fix warnings
Changed paths:
backends/events/sdl/sdl-events.h
diff --git a/backends/events/sdl/sdl-events.h b/backends/events/sdl/sdl-events.h
index 753836e1b4d..c8c2efe1eea 100644
--- a/backends/events/sdl/sdl-events.h
+++ b/backends/events/sdl/sdl-events.h
@@ -230,7 +230,7 @@ protected:
FINGER_SUBPIXEL_MULTIPLIER = 16 // multiplier for sub-pixel resolution
};
- typedef struct {
+ typedef struct TouchFinger {
int id = -1; // -1: no touch
uint32 timeLastDown = 0;
int lastX = 0; // last known screen coordinates
@@ -245,7 +245,7 @@ protected:
DRAG_THREE_FINGER,
} DraggingType;
- typedef struct {
+ typedef struct TouchPanelState {
TouchFinger _finger[MAX_NUM_FINGERS]; // keep track of finger status
DraggingType _multiFingerDragging = DRAG_NONE; // keep track whether we are currently drag-and-dropping
unsigned int _simulatedClickStartTime[2] = {0, 0}; // initiation time of last simulated left or right click (zero if no click)
More information about the Scummvm-git-logs
mailing list