Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2025-10-15 18:42:41 +00:00
parent aa57984928
commit c66dd17fa3
+12 -12
View File
@@ -625,23 +625,23 @@ extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_CreateColorCursor(SDL_Surface *surf
/** /**
* Create an animated color cursor. * Create an animated color cursor.
* *
* Animated cursors are composed of a sequential array of frames, specified * Animated cursors are composed of a sequential array of frames, specified as
* as surfaces and durations in an array of SDL_CursorFrameInfo structs. * surfaces and durations in an array of SDL_CursorFrameInfo structs. The hot
* The hot spot coordinates are universal to all frames, and all frames must * spot coordinates are universal to all frames, and all frames must have the
* have the same dimensions. * same dimensions.
* *
* Frame durations are specified in milliseconds. A duration of 0 implies an * Frame durations are specified in milliseconds. A duration of 0 implies an
* infinite frame time, and the animation will stop on that frame. To create * infinite frame time, and the animation will stop on that frame. To create a
* a one-shot animation, set the duration of the last frame in the sequence * one-shot animation, set the duration of the last frame in the sequence to
* to 0. * 0.
* *
* If this function is passed surfaces with alternate representations added * If this function is passed surfaces with alternate representations added
* with SDL_AddSurfaceAlternateImage(), the surfaces will be interpreted as the * with SDL_AddSurfaceAlternateImage(), the surfaces will be interpreted as
* content to be used for 100% display scale, and the alternate * the content to be used for 100% display scale, and the alternate
* representations will be used for high DPI situations. For example, if the * representations will be used for high DPI situations. For example, if the
* original surfaces are 32x32, then on a 2x macOS display or 200% display scale * original surfaces are 32x32, then on a 2x macOS display or 200% display
* on Windows, a 64x64 version of the image will be used, if available. If a * scale on Windows, a 64x64 version of the image will be used, if available.
* matching version of the image isn't available, the closest larger size * If a matching version of the image isn't available, the closest larger size
* image will be downscaled to the appropriate size and be used instead, if * image will be downscaled to the appropriate size and be used instead, if
* available. Otherwise, the closest smaller image will be upscaled and be * available. Otherwise, the closest smaller image will be upscaled and be
* used instead. * used instead.