mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
Fixed an inaccuracy in the documentation for SDL_PenProximityEvent and SDL_PenMotionEvent
This commit is contained in:

committed by
Sam Lantinga

parent
4d9e7a2a68
commit
0ca8027205
@@ -797,7 +797,7 @@ typedef struct SDL_PenProximityEvent
|
|||||||
SDL_EventType type; /**< SDL_EVENT_PEN_PROXIMITY_IN or SDL_EVENT_PEN_PROXIMITY_OUT */
|
SDL_EventType type; /**< SDL_EVENT_PEN_PROXIMITY_IN or SDL_EVENT_PEN_PROXIMITY_OUT */
|
||||||
Uint32 reserved;
|
Uint32 reserved;
|
||||||
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
||||||
SDL_WindowID windowID; /**< The window with mouse focus, if any */
|
SDL_WindowID windowID; /**< The window with pen focus, if any */
|
||||||
SDL_PenID which; /**< The pen instance id */
|
SDL_PenID which; /**< The pen instance id */
|
||||||
} SDL_PenProximityEvent;
|
} SDL_PenProximityEvent;
|
||||||
|
|
||||||
@@ -817,7 +817,7 @@ typedef struct SDL_PenMotionEvent
|
|||||||
SDL_EventType type; /**< SDL_EVENT_PEN_MOTION */
|
SDL_EventType type; /**< SDL_EVENT_PEN_MOTION */
|
||||||
Uint32 reserved;
|
Uint32 reserved;
|
||||||
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
|
||||||
SDL_WindowID windowID; /**< The window with mouse focus, if any */
|
SDL_WindowID windowID; /**< The window with pen focus, if any */
|
||||||
SDL_PenID which; /**< The pen instance id */
|
SDL_PenID which; /**< The pen instance id */
|
||||||
SDL_PenInputFlags pen_state; /**< Complete pen input state at time of event */
|
SDL_PenInputFlags pen_state; /**< Complete pen input state at time of event */
|
||||||
float x; /**< X coordinate, relative to window */
|
float x; /**< X coordinate, relative to window */
|
||||||
|
Reference in New Issue
Block a user