mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 12:48:28 +00:00
Added the concept of display natural orientation
Also renamed SDL_GetDisplayOrientation() SDL_GetDisplayCurrentOrientation() The natural orientation of the primary display is the frame of reference for accelerometer and gyro sensor readings.
This commit is contained in:
parent
8de6ce7e92
commit
e6d1ba2a17
20 changed files with 213 additions and 79 deletions
|
@ -190,7 +190,7 @@
|
|||
#define SDL_GetDisplayForPoint SDL_GetDisplayForPoint_REAL
|
||||
#define SDL_GetDisplayForRect SDL_GetDisplayForRect_REAL
|
||||
#define SDL_GetDisplayName SDL_GetDisplayName_REAL
|
||||
#define SDL_GetDisplayOrientation SDL_GetDisplayOrientation_REAL
|
||||
#define SDL_GetDisplayCurrentOrientation SDL_GetDisplayCurrentOrientation_REAL
|
||||
#define SDL_GetDisplayUsableBounds SDL_GetDisplayUsableBounds_REAL
|
||||
#define SDL_GetError SDL_GetError_REAL
|
||||
#define SDL_GetErrorMsg SDL_GetErrorMsg_REAL
|
||||
|
@ -892,3 +892,4 @@
|
|||
#define SDL_hid_get_report_descriptor SDL_hid_get_report_descriptor_REAL
|
||||
#define SDL_HasWindowSurface SDL_HasWindowSurface_REAL
|
||||
#define SDL_DestroyWindowSurface SDL_DestroyWindowSurface_REAL
|
||||
#define SDL_GetDisplayNaturalOrientation SDL_GetDisplayNaturalOrientation_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue