aboutsummaryrefslogtreecommitdiff
path: root/src/palette.h
blob: 3ac5c9320446d4b32d6ffd9c174fc2bf342c9dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 *);