mirror of https://github.com/libsdl-org/SDL.git
parent
00f316737b
commit
1f917d5231
|
|
@ -2840,8 +2840,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressState(SDL_Window *window,
|
|||
* Get the state of the progress bar for the given window’s taskbar icon.
|
||||
*
|
||||
* \param window the window to get the current progress state from.
|
||||
* \returns the progress state, or `SDL_PROGRESS_STATE_INVALID` on failure; call
|
||||
* SDL_GetError() for more information.
|
||||
* \returns the progress state, or `SDL_PROGRESS_STATE_INVALID` on failure;
|
||||
* call SDL_GetError() for more information.
|
||||
*
|
||||
* \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 window’s taskbar icon.
|
||||
*
|
||||
* \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
|
||||
* outside the valid range, it gets clamped.
|
||||
* \param value the progress value in the range of [0.0f - 1.0f]. If the value
|
||||
* is outside the valid range, it gets clamped.
|
||||
* \returns true on success or false on failure; call SDL_GetError() for more
|
||||
* 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 window’s taskbar icon.
|
||||
*
|
||||
* \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;
|
||||
* call SDL_GetError() for more information.
|
||||
* \returns the progress value in the range of [0.0f - 1.0f], or -1.0f on
|
||||
* failure; call SDL_GetError() for more information.
|
||||
*
|
||||
* \threadsafety This function should only be called on the main thread.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue