Skip to content

Commit c240ed9

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent 27464ff commit c240ed9

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

include/SDL3/SDL_mouse.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -578,15 +578,16 @@ extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_CreateCursor(const Uint8 *data,
578578
/**
579579
* Create a color cursor.
580580
*
581-
* If this function is passed a surface with alternate representations added with SDL_AddSurfaceAlternateImage(), the
582-
* surface will be interpreted as the content to be used for 100% display
583-
* scale, and the alternate representations will be used for high DPI
584-
* situations. For example, if the original surface is 32x32, then on a 2x
585-
* macOS display or 200% display scale on Windows, a 64x64 version of the
586-
* image will be used, if available. If a matching version of the image isn't
587-
* available, the closest larger size image will be downscaled to the
588-
* appropriate size and be used instead, if available. Otherwise, the closest
589-
* smaller image will be upscaled and be used instead.
581+
* If this function is passed a surface with alternate representations added
582+
* with SDL_AddSurfaceAlternateImage(), the surface will be interpreted as the
583+
* content to be used for 100% display scale, and the alternate
584+
* representations will be used for high DPI situations. For example, if the
585+
* original surface is 32x32, then on a 2x macOS display or 200% display scale
586+
* on Windows, a 64x64 version of the image will be used, if available. If a
587+
* matching version of the image isn't available, the closest larger size
588+
* image will be downscaled to the appropriate size and be used instead, if
589+
* available. Otherwise, the closest smaller image will be upscaled and be
590+
* used instead.
590591
*
591592
* \param surface an SDL_Surface structure representing the cursor image.
592593
* \param hot_x the x position of the cursor hot spot.

include/SDL3/SDL_video.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,15 +1680,16 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetWindowTitle(SDL_Window *window);
16801680
/**
16811681
* Set the icon for a window.
16821682
*
1683-
* If this function is passed a surface with alternate representations added using SDL_AddSurfaceAlternateImage(), the
1684-
* surface will be interpreted as the content to be used for 100% display
1685-
* scale, and the alternate representations will be used for high DPI
1686-
* situations. For example, if the original surface is 32x32, then on a 2x
1687-
* macOS display or 200% display scale on Windows, a 64x64 version of the
1688-
* image will be used, if available. If a matching version of the image isn't
1689-
* available, the closest larger size image will be downscaled to the
1690-
* appropriate size and be used instead, if available. Otherwise, the closest
1691-
* smaller image will be upscaled and be used instead.
1683+
* If this function is passed a surface with alternate representations added
1684+
* using SDL_AddSurfaceAlternateImage(), the surface will be interpreted as
1685+
* the content to be used for 100% display scale, and the alternate
1686+
* representations will be used for high DPI situations. For example, if the
1687+
* original surface is 32x32, then on a 2x macOS display or 200% display scale
1688+
* on Windows, a 64x64 version of the image will be used, if available. If a
1689+
* matching version of the image isn't available, the closest larger size
1690+
* image will be downscaled to the appropriate size and be used instead, if
1691+
* available. Otherwise, the closest smaller image will be upscaled and be
1692+
* used instead.
16921693
*
16931694
* \param window the window to change.
16941695
* \param icon an SDL_Surface structure containing the icon for the window.

0 commit comments

Comments
 (0)