44 #if defined(__WIN32__) || defined(__GDK__)
60 #if defined(__WIN32__) || defined(__WINGDK__)
111 #if defined(__WIN32__) || defined(__GDK__)
131 #if defined(__WIN32__) || defined(__WINGDK__)
169 extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriority(
Sint64 threadID,
int priority);
184 extern 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)
225 extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval,
void (SDLCALL *callback)(
void*),
void *callbackParam);
227 #define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
243 extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(
SDL_bool enabled);
268 extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv(
void);
290 extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity(
void);
322 extern DECLSPEC
int SDLCALL SDL_GetAndroidSDKVersion(
void);
331 extern DECLSPEC
SDL_bool SDLCALL SDL_IsAndroidTV(
void);
340 extern DECLSPEC
SDL_bool SDLCALL SDL_IsChromebook(
void);
349 extern DECLSPEC
SDL_bool SDLCALL SDL_IsDeXMode(
void);
356 extern DECLSPEC
void SDLCALL SDL_AndroidBackButton(
void);
362 #define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
363 #define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
381 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath(
void);
398 extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState(
void);
416 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath(
void);
428 extern DECLSPEC
SDL_bool SDLCALL SDL_AndroidRequestPermission(
const char *permission);
453 extern DECLSPEC
int SDLCALL SDL_AndroidShowToast(
const char* message,
int duration,
int gravity,
int xoffset,
int yoffset);
465 extern 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;
536 extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
559 extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
568 extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
591 extern DECLSPEC
void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(
void);
596 typedef struct XTaskQueueObject * XTaskQueueHandle;
611 extern DECLSPEC
int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);
struct SDL_Renderer SDL_Renderer
SDL_bool SDL_IsTablet(void)
void SDL_OnApplicationWillEnterForeground(void)
int SDL_Direct3D9GetAdapterIndex(int displayIndex)
SDL_bool SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex)
struct ID3D12Device ID3D12Device
void(* SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam)
void SDL_OnApplicationDidBecomeActive(void)
struct IDirect3DDevice9 IDirect3DDevice9
struct ID3D11Device ID3D11Device
void SDL_OnApplicationDidEnterBackground(void)
IDirect3DDevice9 * SDL_RenderGetD3D9Device(SDL_Renderer *renderer)
void SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata)
ID3D11Device * SDL_RenderGetD3D11Device(SDL_Renderer *renderer)
ID3D12Device * SDL_RenderGetD3D12Device(SDL_Renderer *renderer)
void SDL_OnApplicationDidReceiveMemoryWarning(void)
void SDL_OnApplicationWillResignActive(void)
void SDL_OnApplicationWillTerminate(void)
struct SDL_Window SDL_Window
The type used to identify a window.