mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 00:25:37 -05:00
The SDL_PaletteWatch structure is really internal-only.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user