#ifndef COLORS_H
#define COLORS_H

/* arch-tag: f4cdd2d9-4afe-4203-99c1-2c5f181588ce */

#include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
#include <X11/Xft/Xft.h>

struct color {
        const char *name;
        unsigned long pixel;
        unsigned short red, green, blue;
        XftColor rc;
        struct color *next;
};

struct color * get_alloc_color(Display *disp, Colormap cmap, const char *name);
void realloc_colors(Display *disp, Colormap cmap);
struct color * get_color(const char *name);

#endif

