comparison src/video/SDL_pixels.c @ 3555:7549b986ccb1

The SDL_PaletteWatch structure is really internal-only.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 13 Dec 2009 08:00:25 +0000
parents fed6d4c6c693
children 7184580ab756
comparison
equal deleted inserted replaced
3554:cf815007e443 3555:7549b986ccb1
27 #include "SDL_video.h" 27 #include "SDL_video.h"
28 #include "SDL_sysvideo.h" 28 #include "SDL_sysvideo.h"
29 #include "SDL_blit.h" 29 #include "SDL_blit.h"
30 #include "SDL_pixels_c.h" 30 #include "SDL_pixels_c.h"
31 #include "SDL_RLEaccel_c.h" 31 #include "SDL_RLEaccel_c.h"
32
33 struct SDL_PaletteWatch
34 {
35 SDL_PaletteChangedFunc callback;
36 void *userdata;
37 struct SDL_PaletteWatch *next;
38 };
32 39
33 /* Helper functions */ 40 /* Helper functions */
34 41
35 SDL_bool 42 SDL_bool
36 SDL_PixelFormatEnumToMasks(Uint32 format, int *bpp, Uint32 * Rmask, 43 SDL_PixelFormatEnumToMasks(Uint32 format, int *bpp, Uint32 * Rmask,