aboutsummaryrefslogtreecommitdiff
path: root/src/palette.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/palette.h')
-rw-r--r--src/palette.h15
1 files changed, 15 insertions, 0 deletions
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 *);