comparison include/SDL_pixels.h @ 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 a54df8e52333
children f7b03b6838cb
comparison
equal deleted inserted replaced
3554:cf815007e443 3555:7549b986ccb1
235 } SDL_Color; 235 } SDL_Color;
236 #define SDL_Colour SDL_Color 236 #define SDL_Colour SDL_Color
237 237
238 typedef struct SDL_Palette SDL_Palette; 238 typedef struct SDL_Palette SDL_Palette;
239 typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette); 239 typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette);
240 240 typedef struct SDL_PaletteWatch SDL_PaletteWatch;
241 typedef struct SDL_PaletteWatch
242 {
243 SDL_PaletteChangedFunc callback;
244 void *userdata;
245 struct SDL_PaletteWatch *next;
246 } SDL_PaletteWatch;
247 241
248 struct SDL_Palette 242 struct SDL_Palette
249 { 243 {
250 int ncolors; 244 int ncolors;
251 SDL_Color *colors; 245 SDL_Color *colors;