mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -578,15 +578,16 @@ extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_CreateCursor(const Uint8 *data,
|
|||||||
/**
|
/**
|
||||||
* Create a color cursor.
|
* Create a color cursor.
|
||||||
*
|
*
|
||||||
* If this function is passed a surface with alternate representations added with SDL_AddSurfaceAlternateImage(), the
|
* If this function is passed a surface with alternate representations added
|
||||||
* surface will be interpreted as the content to be used for 100% display
|
* with SDL_AddSurfaceAlternateImage(), the surface will be interpreted as the
|
||||||
* scale, and the alternate representations will be used for high DPI
|
* content to be used for 100% display scale, and the alternate
|
||||||
* situations. For example, if the original surface is 32x32, then on a 2x
|
* representations will be used for high DPI situations. For example, if the
|
||||||
* macOS display or 200% display scale on Windows, a 64x64 version of the
|
* original surface is 32x32, then on a 2x macOS display or 200% display scale
|
||||||
* image will be used, if available. If a matching version of the image isn't
|
* on Windows, a 64x64 version of the image will be used, if available. If a
|
||||||
* available, the closest larger size image will be downscaled to the
|
* matching version of the image isn't available, the closest larger size
|
||||||
* appropriate size and be used instead, if available. Otherwise, the closest
|
* image will be downscaled to the appropriate size and be used instead, if
|
||||||
* smaller image will be upscaled and be used instead.
|
* available. Otherwise, the closest smaller image will be upscaled and be
|
||||||
|
* used instead.
|
||||||
*
|
*
|
||||||
* \param surface an SDL_Surface structure representing the cursor image.
|
* \param surface an SDL_Surface structure representing the cursor image.
|
||||||
* \param hot_x the x position of the cursor hot spot.
|
* \param hot_x the x position of the cursor hot spot.
|
||||||
|
@@ -1680,15 +1680,16 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetWindowTitle(SDL_Window *window);
|
|||||||
/**
|
/**
|
||||||
* Set the icon for a window.
|
* Set the icon for a window.
|
||||||
*
|
*
|
||||||
* If this function is passed a surface with alternate representations added using SDL_AddSurfaceAlternateImage(), the
|
* If this function is passed a surface with alternate representations added
|
||||||
* surface will be interpreted as the content to be used for 100% display
|
* using SDL_AddSurfaceAlternateImage(), the surface will be interpreted as
|
||||||
* scale, and the alternate representations will be used for high DPI
|
* the content to be used for 100% display scale, and the alternate
|
||||||
* situations. For example, if the original surface is 32x32, then on a 2x
|
* representations will be used for high DPI situations. For example, if the
|
||||||
* macOS display or 200% display scale on Windows, a 64x64 version of the
|
* original surface is 32x32, then on a 2x macOS display or 200% display scale
|
||||||
* image will be used, if available. If a matching version of the image isn't
|
* on Windows, a 64x64 version of the image will be used, if available. If a
|
||||||
* available, the closest larger size image will be downscaled to the
|
* matching version of the image isn't available, the closest larger size
|
||||||
* appropriate size and be used instead, if available. Otherwise, the closest
|
* image will be downscaled to the appropriate size and be used instead, if
|
||||||
* smaller image will be upscaled and be used instead.
|
* available. Otherwise, the closest smaller image will be upscaled and be
|
||||||
|
* used instead.
|
||||||
*
|
*
|
||||||
* \param window the window to change.
|
* \param window the window to change.
|
||||||
* \param icon an SDL_Surface structure containing the icon for the window.
|
* \param icon an SDL_Surface structure containing the icon for the window.
|
||||||
|
Reference in New Issue
Block a user