Renamed SDL life cycle functions

This maps better to how SDL delivers the events, and the iOS delegate methods are in the documentation for reference.
This commit is contained in:
Sam Lantinga 2024-07-23 21:59:35 -07:00
parent 06c0ed68b1
commit fa0918a686
10 changed files with 30 additions and 14 deletions

View file

@ -716,7 +716,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationDidReceiveMemoryWarning(void);
*
* \since This function is available since SDL 3.0.0.
*/
extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationWillResignActive(void);
extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationWillEnterBackground(void);
/**
* Let iOS apps with external event handling report
@ -767,7 +767,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationWillEnterForeground(void);
*
* \since This function is available since SDL 3.0.0.
*/
extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationDidBecomeActive(void);
extern SDL_DECLSPEC void SDLCALL SDL_OnApplicationDidEnterForeground(void);
#ifdef SDL_PLATFORM_IOS