mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Re-added a simplified version of SDL_SetWindowShape()
In order to handle mouse click transparency this needs to be implemented inside SDL
This commit is contained in:
parent
1143bdc351
commit
f6b92c9b88
33 changed files with 128676 additions and 59 deletions
|
@ -277,6 +277,11 @@ struct SDL_Renderer
|
|||
size_t vertex_data_used;
|
||||
size_t vertex_data_allocation;
|
||||
|
||||
/* Shaped window support */
|
||||
SDL_bool transparent_window;
|
||||
SDL_Surface *shape_surface;
|
||||
SDL_Texture *shape_texture;
|
||||
|
||||
SDL_PropertiesID props;
|
||||
|
||||
void *driverdata;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue