comparison test/testshape.c @ 4809:329708ffe2a7

Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
author Eli Gottlieb <eligottlieb@gmail.com>
date Mon, 26 Jul 2010 17:27:04 -0400
parents 2ae79ed78a5a
children eb433f0d2ac5
comparison
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;