]> icculus.org git repositories - dana/openbox.git/blob - render/color.h
add a menuOverlap property to themes, and use it in the submenu placement
[dana/openbox.git] / render / color.h
1 #ifndef __color_h
2 #define __color_h
3
4 #include "render.h"
5
6 #include <X11/Xlib.h>
7 #include <X11/Xutil.h>
8 #include <glib.h>
9
10 struct _RrColor {
11     const RrInstance *inst;
12
13     int r;
14     int g;
15     int b;
16     unsigned long pixel;
17     GC gc;
18 };
19
20 void RrColorAllocateGC(RrColor *in);
21 XColor *RrPickColor(const RrInstance *inst, gint r, gint g, gint b);
22 void RrReduceDepth(const RrInstance *inst, RrPixel32 *data, XImage *im);
23 void RrIncreaseDepth(const RrInstance *inst, RrPixel32 *data, XImage *im);
24
25 #endif /* __color_h */