|
@@ -1028,7 +1028,8 @@ extern DECLSPEC SDL_Window *SDLCALL SDL_GetWindowParent(SDL_Window *window);
|
|
|
*
|
|
|
* The following read-only properties are provided by SDL:
|
|
|
*
|
|
|
- * - `SDL_PROP_WINDOW_SHAPE_POINTER`: the surface associated with a shaped window
|
|
|
+ * - `SDL_PROP_WINDOW_SHAPE_POINTER`: the surface associated with a shaped
|
|
|
+ * window
|
|
|
*
|
|
|
* On Android:
|
|
|
*
|
|
@@ -2125,12 +2126,16 @@ extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window *window, SDL_HitTest
|
|
|
/**
|
|
|
* Set the shape of a transparent window.
|
|
|
*
|
|
|
- * This sets the alpha channel of a transparent window and any fully transparent areas are also transparent to mouse clicks. If you are using something besides the SDL render API, then you are responsible for setting the alpha channel of the window yourself.
|
|
|
+ * This sets the alpha channel of a transparent window and any fully
|
|
|
+ * transparent areas are also transparent to mouse clicks. If you are using
|
|
|
+ * something besides the SDL render API, then you are responsible for setting
|
|
|
+ * the alpha channel of the window yourself.
|
|
|
*
|
|
|
* The window must have been created with the SDL_WINDOW_TRANSPARENT flag.
|
|
|
*
|
|
|
* \param window the window
|
|
|
- * \param shape the surface representing the shape of the window, or NULL to remove any current shape
|
|
|
+ * \param shape the surface representing the shape of the window, or NULL to
|
|
|
+ * remove any current shape
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|