Mercurial > hg > dmlib
comparison tools/libgfx.h @ 2293:587b26cecf5b
Add read/write RAW palette function prototypes to public header.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jul 2019 09:01:47 +0300 |
parents | b858ade0fb0b |
children | 75216bf67fd2 |
comparison
equal
deleted
inserted
replaced
2292:9269a32ba7f9 | 2293:587b26cecf5b |
---|---|
170 int dmPaletteProbeGeneric(const Uint8 *buf, const size_t len, const DMPaletteFormat **fmt, int *index); | 170 int dmPaletteProbeGeneric(const Uint8 *buf, const size_t len, const DMPaletteFormat **fmt, int *index); |
171 | 171 |
172 | 172 |
173 int dmReadACTPalette(DMResource *fp, DMPalette **pdst); | 173 int dmReadACTPalette(DMResource *fp, DMPalette **pdst); |
174 int dmWriteACTPalette(DMResource *fp, const DMPalette *pdst); | 174 int dmWriteACTPalette(DMResource *fp, const DMPalette *pdst); |
175 int dmReadRAWPalette(DMResource *fp, DMPalette **pdst); | |
176 int dmWriteRAWPalette(DMResource *fp, const DMPalette *ppal); | |
175 | 177 |
176 | 178 |
177 int dmWriteImageData(const DMImage *img, void *cbdata, | 179 int dmWriteImageData(const DMImage *img, void *cbdata, |
178 int (*writeRowCB)(void *, const Uint8 *, const size_t), const DMImageWriteSpec *spec); | 180 int (*writeRowCB)(void *, const Uint8 *, const size_t), const DMImageWriteSpec *spec); |
179 | 181 |