The SDL_PaletteWatch structure is really internal-only.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404303
This commit is contained in:
parent
e0e5f49b6a
commit
21611bcf67
2 changed files with 8 additions and 7 deletions
|
@ -237,13 +237,7 @@ typedef struct SDL_Color
|
||||||
|
|
||||||
typedef struct SDL_Palette SDL_Palette;
|
typedef struct SDL_Palette SDL_Palette;
|
||||||
typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette);
|
typedef int (*SDL_PaletteChangedFunc) (void *userdata, SDL_Palette * palette);
|
||||||
|
typedef struct SDL_PaletteWatch SDL_PaletteWatch;
|
||||||
typedef struct SDL_PaletteWatch
|
|
||||||
{
|
|
||||||
SDL_PaletteChangedFunc callback;
|
|
||||||
void *userdata;
|
|
||||||
struct SDL_PaletteWatch *next;
|
|
||||||
} SDL_PaletteWatch;
|
|
||||||
|
|
||||||
struct SDL_Palette
|
struct SDL_Palette
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,6 +30,13 @@
|
||||||
#include "SDL_pixels_c.h"
|
#include "SDL_pixels_c.h"
|
||||||
#include "SDL_RLEaccel_c.h"
|
#include "SDL_RLEaccel_c.h"
|
||||||
|
|
||||||
|
struct SDL_PaletteWatch
|
||||||
|
{
|
||||||
|
SDL_PaletteChangedFunc callback;
|
||||||
|
void *userdata;
|
||||||
|
struct SDL_PaletteWatch *next;
|
||||||
|
};
|
||||||
|
|
||||||
/* Helper functions */
|
/* Helper functions */
|
||||||
|
|
||||||
SDL_bool
|
SDL_bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue