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 committed 2024-07-24 05:11:13 -07:00
1 parent 06c0ed68b1
commit fa0918a686
10 files changed
+30 -14

No files matched your search

+2 -2
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