mirror of https://github.com/encounter/SDL.git
Fixed typos in shape header.
This commit is contained in:
parent
68ca9d9ed1
commit
2f74dc9e63
|
@ -71,6 +71,7 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,un
|
||||||
* \param window The window to query for being shaped.
|
* \param window The window to query for being shaped.
|
||||||
*
|
*
|
||||||
* \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
|
* \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
|
||||||
|
*
|
||||||
* \sa SDL_CreateShapedWindow
|
* \sa SDL_CreateShapedWindow
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
|
extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
|
||||||
|
@ -91,7 +92,7 @@ typedef enum {
|
||||||
|
|
||||||
/** \brief A union containing parameters for shaped windows. */
|
/** \brief A union containing parameters for shaped windows. */
|
||||||
typedef union {
|
typedef union {
|
||||||
/** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */
|
/** \brief A cutoff alpha value for binarization of the window shape's alpha channel. */
|
||||||
Uint8 binarizationCutoff;
|
Uint8 binarizationCutoff;
|
||||||
SDL_Color colorKey;
|
SDL_Color colorKey;
|
||||||
} SDL_WindowShapeParams;
|
} SDL_WindowShapeParams;
|
||||||
|
@ -111,8 +112,8 @@ typedef struct SDL_WindowShapeMode {
|
||||||
* \param shape A surface encoding the desired shape for the window.
|
* \param shape A surface encoding the desired shape for the window.
|
||||||
* \param shape_mode The parameters to set for the shaped window.
|
* \param shape_mode The parameters to set for the shaped window.
|
||||||
*
|
*
|
||||||
* \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
|
* \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
|
||||||
* if the SDL_Window* given does not reference a valid shaped window.
|
* if the SDL_Window given does not reference a valid shaped window.
|
||||||
*
|
*
|
||||||
* \sa SDL_WindowShapeMode
|
* \sa SDL_WindowShapeMode
|
||||||
* \sa SDL_GetShapedWindowMode.
|
* \sa SDL_GetShapedWindowMode.
|
||||||
|
@ -127,7 +128,7 @@ extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *s
|
||||||
*
|
*
|
||||||
* \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
|
* \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
|
||||||
* data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
|
* data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
|
||||||
* the SDL_Window* given is a shapeable window currently lacking a shape.
|
* the SDL_Window given is a shapeable window currently lacking a shape.
|
||||||
*
|
*
|
||||||
* \sa SDL_WindowShapeMode
|
* \sa SDL_WindowShapeMode
|
||||||
* \sa SDL_SetWindowShape
|
* \sa SDL_SetWindowShape
|
||||||
|
|
Loading…
Reference in New Issue