mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-30 09:45:36 +00:00
Detect device form factor (#12584)
This commit is contained in:
parent
5317703567
commit
d474769878
10 changed files with 184 additions and 19 deletions
|
|
@ -1298,3 +1298,5 @@ _SDL_RequestNotificationPermission
|
|||
_SDL_ShowNotificationWithProperties
|
||||
_SDL_ShowNotification
|
||||
_SDL_RemoveNotification
|
||||
_SDL_GetDeviceFormFactor
|
||||
_SDL_GetDeviceFormFactorName
|
||||
|
|
|
|||
|
|
@ -1299,6 +1299,8 @@ SDL3_0.0.0 {
|
|||
SDL_ShowNotificationWithProperties;
|
||||
SDL_ShowNotification;
|
||||
SDL_RemoveNotification;
|
||||
SDL_GetDeviceFormFactor;
|
||||
SDL_GetDeviceFormFactorName;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1325,3 +1325,5 @@
|
|||
#define SDL_ShowNotificationWithProperties SDL_ShowNotificationWithProperties_REAL
|
||||
#define SDL_ShowNotification SDL_ShowNotification_REAL
|
||||
#define SDL_RemoveNotification SDL_RemoveNotification_REAL
|
||||
#define SDL_GetDeviceFormFactor SDL_GetDeviceFormFactor_REAL
|
||||
#define SDL_GetDeviceFormFactorName SDL_GetDeviceFormFactorName_REAL
|
||||
|
|
|
|||
|
|
@ -1333,3 +1333,5 @@ SDL_DYNAPI_PROC(bool,SDL_RequestNotificationPermission,(void),(),return)
|
|||
SDL_DYNAPI_PROC(SDL_NotificationID,SDL_ShowNotificationWithProperties,(SDL_PropertiesID a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_NotificationID,SDL_ShowNotification,(const char *a,const char *b,SDL_Surface *c,SDL_NotificationAction *d,int e),(a,b,c,d,e),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_RemoveNotification,(SDL_NotificationID a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_FormFactor,SDL_GetDeviceFormFactor,(void),(),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetDeviceFormFactorName,(SDL_FormFactor a),(a),return)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue