From 9e660e594f6d3a43ea1427fb872801a2fcedad93 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Tue, 26 Sep 2023 22:32:35 +0300 Subject: initial commit --- src/palette.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/palette.h (limited to 'src/palette.h') diff --git a/src/palette.h b/src/palette.h new file mode 100644 index 0000000..3ac5c93 --- /dev/null +++ b/src/palette.h @@ -0,0 +1,15 @@ +struct Color { + unsigned char r, g, b; +}; + +struct Palette { + unsigned int num; + struct Color *clist; +}; + +typedef struct Color Color; +typedef struct Palette Palette; + +Palette *palette_open_gpl(const char *); +Palette *palette_clone(const Palette *); +Palette *palette_open_gpl(const char *); -- cgit v1.2.3