Commit 21611bcf authored by Sam Lantinga's avatar Sam Lantinga

The SDL_PaletteWatch structure is really internal-only.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404303
parent e0e5f49b
......@@ -237,13 +237,7 @@ typedef struct SDL_Color
typedef struct SDL_Palette SDL_Palette;
typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette);
typedef struct SDL_PaletteWatch
{
SDL_PaletteChangedFunc callback;
void *userdata;
struct SDL_PaletteWatch *next;
} SDL_PaletteWatch;
typedef struct SDL_PaletteWatch SDL_PaletteWatch;
struct SDL_Palette
{
......
......@@ -30,6 +30,13 @@
#include "SDL_pixels_c.h"
#include "SDL_RLEaccel_c.h"
struct SDL_PaletteWatch
{
SDL_PaletteChangedFunc callback;
void *userdata;
struct SDL_PaletteWatch *next;
};
/* Helper functions */
SDL_bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment