My Project
Loading...
Searching...
No Matches
SDL_system.h File Reference
#include "SDL_stdinc.h"
#include "SDL_keyboard.h"
#include "SDL_render.h"
#include "SDL_video.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Functions

DECLSPEC SDL_bool SDLCALL SDL_IsTablet (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationWillTerminate (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationDidReceiveMemoryWarning (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationWillResignActive (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationDidEnterBackground (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationWillEnterForeground (void)
 
DECLSPEC void SDLCALL SDL_OnApplicationDidBecomeActive (void)
 

Detailed Description

Include file for platform specific SDL API functions

Function Documentation

◆ SDL_IsTablet()

DECLSPEC SDL_bool SDLCALL SDL_IsTablet ( void  )

Query if the current device is a tablet.

If SDL can't determine this, it will return SDL_FALSE.

Returns
SDL_TRUE if the device is a tablet, SDL_FALSE otherwise.
Since
This function is available since SDL 2.0.9.