mirror of https://github.com/encounter/SDL.git
Removed unused internal window shape functions.
This commit is contained in:
parent
a7fc2822d4
commit
c66f0471e1
|
@ -29,11 +29,6 @@
|
||||||
|
|
||||||
#include "../SDL_shape_internals.h"
|
#include "../SDL_shape_internals.h"
|
||||||
|
|
||||||
SDL_Window*
|
|
||||||
DirectFB_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
|
|
||||||
return SDL_CreateWindow(title,x,y,w,h,flags /* | SDL_DFB_WINDOW_SHAPED */);
|
|
||||||
}
|
|
||||||
|
|
||||||
SDL_WindowShaper*
|
SDL_WindowShaper*
|
||||||
DirectFB_CreateShaper(SDL_Window* window) {
|
DirectFB_CreateShaper(SDL_Window* window) {
|
||||||
SDL_WindowShaper* result = NULL;
|
SDL_WindowShaper* result = NULL;
|
||||||
|
|
|
@ -31,7 +31,6 @@ typedef struct {
|
||||||
IDirectFBSurface *surface;
|
IDirectFBSurface *surface;
|
||||||
} SDL_ShapeData;
|
} SDL_ShapeData;
|
||||||
|
|
||||||
extern SDL_Window* DirectFB_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags);
|
|
||||||
extern SDL_WindowShaper* DirectFB_CreateShaper(SDL_Window* window);
|
extern SDL_WindowShaper* DirectFB_CreateShaper(SDL_Window* window);
|
||||||
extern int DirectFB_ResizeWindowShape(SDL_Window* window);
|
extern int DirectFB_ResizeWindowShape(SDL_Window* window);
|
||||||
extern int DirectFB_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
|
extern int DirectFB_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
|
||||||
|
|
|
@ -28,11 +28,6 @@
|
||||||
#include "SDL_x11window.h"
|
#include "SDL_x11window.h"
|
||||||
#include "../SDL_shape_internals.h"
|
#include "../SDL_shape_internals.h"
|
||||||
|
|
||||||
SDL_Window*
|
|
||||||
X11_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
|
|
||||||
return SDL_CreateWindow(title,x,y,w,h,flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
SDL_WindowShaper*
|
SDL_WindowShaper*
|
||||||
X11_CreateShaper(SDL_Window* window) {
|
X11_CreateShaper(SDL_Window* window) {
|
||||||
SDL_WindowShaper* result = NULL;
|
SDL_WindowShaper* result = NULL;
|
||||||
|
@ -118,4 +113,3 @@ X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMo
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_X11 */
|
#endif /* SDL_VIDEO_DRIVER_X11 */
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ typedef struct {
|
||||||
Uint32 bitmapsize;
|
Uint32 bitmapsize;
|
||||||
} SDL_ShapeData;
|
} 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 SDL_WindowShaper* X11_CreateShaper(SDL_Window* window);
|
||||||
extern int X11_ResizeWindowShape(SDL_Window* window);
|
extern int X11_ResizeWindowShape(SDL_Window* window);
|
||||||
extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
|
extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
|
||||||
|
|
Loading…
Reference in New Issue