comparison src/video/SDL_shape.c @ 4827:5660aac926e9

Got basic, pre-actually-writing-anything Cocoa to build.
author egottlieb
date Tue, 03 Aug 2010 00:47:33 -0400
parents 55f32099a4b5
children 3dfe779900f5
comparison
equal deleted inserted replaced
4826:d532a5a114cd 4827:5660aac926e9
25 #include "SDL_video.h" 25 #include "SDL_video.h"
26 #include "SDL_sysvideo.h" 26 #include "SDL_sysvideo.h"
27 #include "SDL_pixels.h" 27 #include "SDL_pixels.h"
28 #include "SDL_surface.h" 28 #include "SDL_surface.h"
29 #include "SDL_shape.h" 29 #include "SDL_shape.h"
30 #include "../src/video/SDL_shape_internals.h" 30 #include "SDL_shape_internals.h"
31 31
32 SDL_Window* SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) { 32 SDL_Window* SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
33 SDL_Window *result = SDL_CreateWindow(title,x,y,w,h,SDL_WINDOW_BORDERLESS | flags & !SDL_WINDOW_FULLSCREEN & !SDL_WINDOW_SHOWN); 33 SDL_Window *result = SDL_CreateWindow(title,x,y,w,h,SDL_WINDOW_BORDERLESS | flags & !SDL_WINDOW_FULLSCREEN & !SDL_WINDOW_SHOWN);
34 if(result != NULL) { 34 if(result != NULL) {
35 result->shaper = result->display->device->shape_driver.CreateShaper(result); 35 result->shaper = result->display->device->shape_driver.CreateShaper(result);