44#if defined(__WIN32__) || defined(__GDK__)
60#if defined(__WIN32__) || defined(__WINGDK__)
111#if defined(__WIN32__) || defined(__GDK__)
131#if defined(__WIN32__) || defined(__WINGDK__)
169extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriority(
Sint64 threadID,
int priority);
184extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(
Sint64 threadID,
int sdlPriority,
int schedPolicy);
191#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
225extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval,
void (SDLCALL *callback)(
void*),
void *callbackParam);
227#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
243extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(
SDL_bool enabled);
268extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv(
void);
290extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity(
void);
322extern DECLSPEC
int SDLCALL SDL_GetAndroidSDKVersion(
void);
331extern DECLSPEC
SDL_bool SDLCALL SDL_IsAndroidTV(
void);
340extern DECLSPEC
SDL_bool SDLCALL SDL_IsChromebook(
void);
349extern DECLSPEC
SDL_bool SDLCALL SDL_IsDeXMode(
void);
356extern DECLSPEC
void SDLCALL SDL_AndroidBackButton(
void);
362#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
363#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
381extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath(
void);
398extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState(
void);
416extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath(
void);
428extern DECLSPEC
SDL_bool SDLCALL SDL_AndroidRequestPermission(
const char *permission);
453extern DECLSPEC
int SDLCALL SDL_AndroidShowToast(
const char* message,
int duration,
int gravity,
int xoffset,
int yoffset);
465extern DECLSPEC
int SDLCALL SDL_AndroidSendMessage(
Uint32 command,
int param);
479 SDL_WINRT_PATH_INSTALLED_LOCATION,
482 SDL_WINRT_PATH_LOCAL_FOLDER,
488 SDL_WINRT_PATH_ROAMING_FOLDER,
492 SDL_WINRT_PATH_TEMP_FOLDER
502 SDL_WINRT_DEVICEFAMILY_UNKNOWN,
505 SDL_WINRT_DEVICEFAMILY_DESKTOP,
508 SDL_WINRT_DEVICEFAMILY_MOBILE,
511 SDL_WINRT_DEVICEFAMILY_XBOX,
512} SDL_WinRT_DeviceFamily;
536extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
559extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
568extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
591extern DECLSPEC
void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(
void);
596typedef struct XTaskQueueObject *XTaskQueueHandle;
597typedef struct XUser *XUserHandle;
612extern DECLSPEC
int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);
626extern DECLSPEC
int SDLCALL SDL_GDKGetDefaultUser(XUserHandle * outUserHandle);
struct SDL_Renderer SDL_Renderer
SDL_bool SDL_IsTablet(void)
void(* SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam)
void SDL_OnApplicationWillEnterForeground(void)
int SDL_Direct3D9GetAdapterIndex(int displayIndex)
SDL_bool SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex)
struct ID3D12Device ID3D12Device
IDirect3DDevice9 * SDL_RenderGetD3D9Device(SDL_Renderer *renderer)
ID3D12Device * SDL_RenderGetD3D12Device(SDL_Renderer *renderer)
void SDL_OnApplicationDidBecomeActive(void)
ID3D11Device * SDL_RenderGetD3D11Device(SDL_Renderer *renderer)
struct IDirect3DDevice9 IDirect3DDevice9
struct ID3D11Device ID3D11Device
void SDL_OnApplicationDidEnterBackground(void)
void SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata)
void SDL_OnApplicationDidReceiveMemoryWarning(void)
void SDL_OnApplicationWillResignActive(void)
void SDL_OnApplicationWillTerminate(void)
struct SDL_Window SDL_Window
The type used to identify a window.