Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot 2025-03-26 15:55:25 +00:00
parent 00f316737b
commit 1f917d5231
1 changed files with 6 additions and 6 deletions

View File

@ -2840,8 +2840,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressState(SDL_Window *window,
* Get the state of the progress bar for the given windows taskbar icon. * Get the state of the progress bar for the given windows taskbar icon.
* *
* \param window the window to get the current progress state from. * \param window the window to get the current progress state from.
* \returns the progress state, or `SDL_PROGRESS_STATE_INVALID` on failure; call * \returns the progress state, or `SDL_PROGRESS_STATE_INVALID` on failure;
* SDL_GetError() for more information. * call SDL_GetError() for more information.
* *
* \threadsafety This function should only be called on the main thread. * \threadsafety This function should only be called on the main thread.
* *
@ -2853,8 +2853,8 @@ extern SDL_DECLSPEC SDL_ProgressState SDLCALL SDL_GetWindowProgressState(SDL_Win
* Sets the value of the progress bar for the given windows taskbar icon. * Sets the value of the progress bar for the given windows taskbar icon.
* *
* \param window the window whose progress value is to be modified. * \param window the window whose progress value is to be modified.
* \param value the progress value in the range of [0.0f - 1.0f]. If the value is * \param value the progress value in the range of [0.0f - 1.0f]. If the value
* outside the valid range, it gets clamped. * is outside the valid range, it gets clamped.
* \returns true on success or false on failure; call SDL_GetError() for more * \returns true on success or false on failure; call SDL_GetError() for more
* information. * information.
* *
@ -2868,8 +2868,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressValue(SDL_Window *window,
* Get the value of the progress bar for the given windows taskbar icon. * Get the value of the progress bar for the given windows taskbar icon.
* *
* \param window the window to get the current progress value from. * \param window the window to get the current progress value from.
* \returns the progress value in the range of [0.0f - 1.0f], or -1.0f on failure; * \returns the progress value in the range of [0.0f - 1.0f], or -1.0f on
* call SDL_GetError() for more information. * failure; call SDL_GetError() for more information.
* *
* \threadsafety This function should only be called on the main thread. * \threadsafety This function should only be called on the main thread.
* *