mirror of
https://github.com/yawut/SDL.git
synced 2026-04-23 09:07:30 -05:00
The SDL_PaletteWatch structure is really internal-only.
This commit is contained in:
parent
ed8e1e54ad
commit
9bf59c5687
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user