87 extern DECLSPEC
int SDLCALL SDL_LinuxSetThreadPriority(
Sint64 threadID,
int priority);
94 #define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam)
95 extern DECLSPEC
int SDLCALL SDL_iPhoneSetAnimationCallback(
SDL_Window * window,
int interval,
void (*callback)(
void*),
void *callbackParam);
97 #define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
98 extern DECLSPEC
void SDLCALL SDL_iPhoneSetEventPump(
SDL_bool enabled);
111 extern DECLSPEC
void * SDLCALL SDL_AndroidGetJNIEnv(
void);
121 extern DECLSPEC
void * SDLCALL SDL_AndroidGetActivity(
void);
148 extern DECLSPEC
int SDLCALL SDL_GetAndroidSDKVersion(
void);
153 extern DECLSPEC
SDL_bool SDLCALL SDL_IsAndroidTV(
void);
158 extern DECLSPEC
SDL_bool SDLCALL SDL_IsChromebook(
void);
163 extern DECLSPEC
SDL_bool SDLCALL SDL_IsDeXMode(
void);
168 extern DECLSPEC
void SDLCALL SDL_AndroidBackButton(
void);
174 #define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
175 #define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
183 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetInternalStoragePath(
void);
192 extern DECLSPEC
int SDLCALL SDL_AndroidGetExternalStorageState(
void);
200 extern DECLSPEC
const char * SDLCALL SDL_AndroidGetExternalStoragePath(
void);
208 extern DECLSPEC
SDL_bool SDLCALL SDL_AndroidRequestPermission(
const char *permission);
222 SDL_WINRT_PATH_INSTALLED_LOCATION,
225 SDL_WINRT_PATH_LOCAL_FOLDER,
231 SDL_WINRT_PATH_ROAMING_FOLDER,
235 SDL_WINRT_PATH_TEMP_FOLDER
245 SDL_WINRT_DEVICEFAMILY_UNKNOWN,
248 SDL_WINRT_DEVICEFAMILY_DESKTOP,
251 SDL_WINRT_DEVICEFAMILY_MOBILE,
254 SDL_WINRT_DEVICEFAMILY_XBOX,
255 } SDL_WinRT_DeviceFamily;
273 extern DECLSPEC
const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType);
290 extern DECLSPEC
const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
297 extern DECLSPEC SDL_WinRT_DeviceFamily SDLCALL SDL_WinRTGetDeviceFamily();
314 extern DECLSPEC
void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(
void);
struct SDL_Renderer SDL_Renderer
SDL_bool SDL_IsTablet(void)
Return true if the current device is a tablet.
void SDL_OnApplicationWillEnterForeground(void)
int SDL_Direct3D9GetAdapterIndex(int displayIndex)
Returns the D3D9 adapter index that matches the specified display index.
SDL_bool SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex)
Returns the DXGI Adapter and Output indices for the specified display index.
void(* SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam)
Set a function that is called for every windows message, before TranslateMessage()
void SDL_OnApplicationDidBecomeActive(void)
struct IDirect3DDevice9 IDirect3DDevice9
void SDL_OnApplicationDidEnterBackground(void)
IDirect3DDevice9 * SDL_RenderGetD3D9Device(SDL_Renderer *renderer)
Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer.
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.