test/testshape.c
changeset 4809 329708ffe2a7
parent 4808 2ae79ed78a5a
child 4816 eb433f0d2ac5
equal deleted inserted replaced
4808:2ae79ed78a5a 4809:329708ffe2a7
    10 
    10 
    11 #define SHAPED_WINDOW_X 150
    11 #define SHAPED_WINDOW_X 150
    12 #define SHAPED_WINDOW_Y 150
    12 #define SHAPED_WINDOW_Y 150
    13 #define SHAPED_WINDOW_DIMENSION 640
    13 #define SHAPED_WINDOW_DIMENSION 640
    14 
    14 
    15 #define TICK_INTERVAL 18
    15 #define TICK_INTERVAL 1000/60
    16 
    16 
    17 typedef struct LoadedPicture {
    17 typedef struct LoadedPicture {
    18 	SDL_Surface *surface;
    18 	SDL_Surface *surface;
    19 	SDL_Texture *texture;
    19 	SDL_Texture *texture;
    20 	SDL_WindowShapeMode mode;
    20 	SDL_WindowShapeMode mode;