Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 4807:c9eb95f29770
Added color-key mode and redid the code to work with it.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Thu, 22 Jul 2010 23:11:01 -0400 |
parents | b6930aefd008 |
children | 329708ffe2a7 |
comparison
equal
deleted
inserted
replaced
4806:007567dbb8c1 | 4807:c9eb95f29770 |
---|---|
142 SDL_Window *window; | 142 SDL_Window *window; |
143 | 143 |
144 /* The user's specified SDL_WINDOW_SHOWN flag, for use once the user gives the window a shape. */ | 144 /* The user's specified SDL_WINDOW_SHOWN flag, for use once the user gives the window a shape. */ |
145 Uint32 usershownflag; | 145 Uint32 usershownflag; |
146 | 146 |
147 /* The cutoff value for alpha-channel binarization. When alpha is greater-than-or-equal-to this value in the shape | 147 /* The parameters for shape calculation. */ |
148 image, the corresponding pixel of the actual window will be considered part of the window's shape. */ | 148 SDL_WindowShapeMode mode; |
149 Uint8 alphacutoff; | |
150 | 149 |
151 /* Has this window been assigned a shape? */ | 150 /* Has this window been assigned a shape? */ |
152 SDL_bool hasshape; | 151 SDL_bool hasshape; |
153 | 152 |
154 void *driverdata; | 153 void *driverdata; |