mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -2837,16 +2837,16 @@ extern SDL_DECLSPEC bool SDLCALL SDL_FlashWindow(SDL_Window *window, SDL_FlashOp
|
|||||||
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressState(SDL_Window *window, SDL_ProgressState state);
|
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressState(SDL_Window *window, SDL_ProgressState state);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the state of the progress bar for the given window’s taskbar icon.
|
* 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.
|
* \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; call
|
||||||
* SDL_GetError() for more information.
|
* 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.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.4.0.
|
* \since This function is available since SDL 3.4.0.
|
||||||
*/
|
*/
|
||||||
extern SDL_DECLSPEC SDL_ProgressState SDLCALL SDL_GetWindowProgressState(SDL_Window *window);
|
extern SDL_DECLSPEC SDL_ProgressState SDLCALL SDL_GetWindowProgressState(SDL_Window *window);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2865,16 +2865,16 @@ extern SDL_DECLSPEC SDL_ProgressState SDLCALL SDL_GetWindowProgressState(SDL_Win
|
|||||||
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressValue(SDL_Window *window, float value);
|
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressValue(SDL_Window *window, float value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the value of the progress bar for the given window’s taskbar icon.
|
* 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.
|
* \param window the window to get the current progress value from.
|
||||||
* \returns the progress value in the range of [0.0 - 1.0], or -1 on
|
* \returns the progress value in the range of [0.0 - 1.0], or -1 on failure;
|
||||||
* failure; call 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.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.4.0.
|
* \since This function is available since SDL 3.4.0.
|
||||||
*/
|
*/
|
||||||
extern SDL_DECLSPEC float SDLCALL SDL_GetWindowProgressValue(SDL_Window *window);
|
extern SDL_DECLSPEC float SDLCALL SDL_GetWindowProgressValue(SDL_Window *window);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user