| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | */ |
| | | #include "../../SDL_internal.h" |
| | | |
| | | #ifndef _SDL_x11shape_h |
| | | #define _SDL_x11shape_h |
| | | #ifndef SDL_x11shape_h_ |
| | | #define SDL_x11shape_h_ |
| | | |
| | | #include "SDL_video.h" |
| | | #include "SDL_shape.h" |
| | |
| | | Uint32 bitmapsize; |
| | | } SDL_ShapeData; |
| | | |
| | | extern SDL_Window* X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags); |
| | | extern SDL_WindowShaper* X11_CreateShaper(SDL_Window* window); |
| | | extern int X11_ResizeWindowShape(SDL_Window* window); |
| | | extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode); |
| | | |
| | | #endif /* _SDL_x11shape_h */ |
| | | #endif /* SDL_x11shape_h_ */ |