diff 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
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Tue Jul 20 12:42:43 2010 -0400
+++ b/src/video/SDL_sysvideo.h	Thu Jul 22 23:11:01 2010 -0400
@@ -144,9 +144,8 @@
     /* The user's specified SDL_WINDOW_SHOWN flag, for use once the user gives the window a shape. */
     Uint32 usershownflag;
     
-    /* The cutoff value for alpha-channel binarization.  When alpha is greater-than-or-equal-to this value in the shape
-       image, the corresponding pixel of the actual window will be considered part of the window's shape. */
-    Uint8 alphacutoff;
+    /* The parameters for shape calculation. */
+    SDL_WindowShapeMode mode;
     
     /* Has this window been assigned a shape? */
     SDL_bool hasshape;