include/SDL_shape.h
changeset 11167 333ababd02e4
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
     1.1 --- a/include/SDL_shape.h	Sat Jul 29 23:00:45 2017 +0200
     1.2 +++ b/include/SDL_shape.h	Sat Jul 29 23:00:54 2017 +0200
     1.3 @@ -71,6 +71,7 @@
     1.4   * \param window The window to query for being shaped.
     1.5   *
     1.6   * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.
     1.7 + *
     1.8   * \sa SDL_CreateShapedWindow
     1.9   */
    1.10  extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window);
    1.11 @@ -91,7 +92,7 @@
    1.12  
    1.13  /** \brief A union containing parameters for shaped windows. */
    1.14  typedef union {
    1.15 -    /** \brief a cutoff alpha value for binarization of the window shape's alpha channel. */
    1.16 +    /** \brief A cutoff alpha value for binarization of the window shape's alpha channel. */
    1.17      Uint8 binarizationCutoff;
    1.18      SDL_Color colorKey;
    1.19  } SDL_WindowShapeParams;
    1.20 @@ -111,8 +112,8 @@
    1.21   * \param shape A surface encoding the desired shape for the window.
    1.22   * \param shape_mode The parameters to set for the shaped window.
    1.23   *
    1.24 - * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on invalid an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
    1.25 - *           if the SDL_Window* given does not reference a valid shaped window.
    1.26 + * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW
    1.27 + *           if the SDL_Window given does not reference a valid shaped window.
    1.28   *
    1.29   * \sa SDL_WindowShapeMode
    1.30   * \sa SDL_GetShapedWindowMode.
    1.31 @@ -127,7 +128,7 @@
    1.32   *
    1.33   * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode
    1.34   *           data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if
    1.35 - *           the SDL_Window* given is a shapeable window currently lacking a shape.
    1.36 + *           the SDL_Window given is a shapeable window currently lacking a shape.
    1.37   *
    1.38   * \sa SDL_WindowShapeMode
    1.39   * \sa SDL_SetWindowShape