openbox/render/instance.h
Dana Jansens 92feea765a move some internal functions from render.h to instance.h
add a color hash table to the RrInstance
2003-09-02 08:37:52 +00:00

37 lines
659 B
C

#ifndef __render_instance_h
#define __render_instance_h
#include <X11/Xlib.h>
#include <glib.h>
struct _RrInstance {
Display *display;
gint screen;
Visual *visual;
gint depth;
Colormap colormap;
gint red_offset;
gint green_offset;
gint blue_offset;
gint red_shift;
gint green_shift;
gint blue_shift;
gint red_mask;
gint green_mask;
gint blue_mask;
gint pseudo_bpc;
XColor *pseudo_colors;
GHashTable *color_hash;
};
guint RrPseudoBPC (const RrInstance *inst);
XColor* RrPseudoColors (const RrInstance *inst);
GHashTable* RrColorHash (const RrInstance *inst);
#endif