Added SDL_AddSurfaceAlternateImage(), SDL_SurfaceHasAlternateImages(), SDL_GetSurfaceImages() and SDL_RemoveSurfaceAlternateImages()

These functions allow you to create surfaces with alternate high DPI content, and will be used for high DPI icon and cursor support.
This commit is contained in:
Sam Lantinga
2024-07-31 21:39:37 -07:00
parent b8dc97c577
commit 94d9229ce2
6 changed files with 222 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ SDL3_0.0.0 {
SDL_AddGamepadMappingsFromFile;
SDL_AddGamepadMappingsFromIO;
SDL_AddHintCallback;
SDL_AddSurfaceAlternateImage;
SDL_AddTimer;
SDL_AddTimerNS;
SDL_AddVulkanRenderSemaphores;
@@ -438,6 +439,7 @@ SDL3_0.0.0 {
SDL_GetSurfaceColorKey;
SDL_GetSurfaceColorMod;
SDL_GetSurfaceColorspace;
SDL_GetSurfaceImages;
SDL_GetSurfacePalette;
SDL_GetSurfaceProperties;
SDL_GetSystemRAM;
@@ -644,6 +646,7 @@ SDL3_0.0.0 {
SDL_ReloadGamepadMappings;
SDL_RemovePath;
SDL_RemoveStoragePath;
SDL_RemoveSurfaceAlternateImages;
SDL_RemoveTimer;
SDL_RenamePath;
SDL_RenameStoragePath;
@@ -820,6 +823,7 @@ SDL3_0.0.0 {
SDL_StopTextInput;
SDL_StorageReady;
SDL_StringToGUID;
SDL_SurfaceHasAlternateImages;
SDL_SurfaceHasColorKey;
SDL_SurfaceHasRLE;
SDL_SyncWindow;