]> Dogcows Code - chaz/openbox/blob - render/instance.h
dont use obsolete xmlChildrenNode
[chaz/openbox] / render / instance.h
1 #ifndef __render_instance_h
2 #define __render_instance_h
3
4 #include <X11/Xlib.h>
5 #include <glib.h>
6
7 struct _RrInstance {
8 Display *display;
9 gint screen;
10
11 Visual *visual;
12 gint depth;
13 Colormap colormap;
14
15 gint red_offset;
16 gint green_offset;
17 gint blue_offset;
18
19 gint red_shift;
20 gint green_shift;
21 gint blue_shift;
22
23 gint red_mask;
24 gint green_mask;
25 gint blue_mask;
26
27 gint pseudo_bpc;
28 XColor *pseudo_colors;
29
30 GHashTable *color_hash;
31 };
32
33 guint RrPseudoBPC (const RrInstance *inst);
34 XColor* RrPseudoColors (const RrInstance *inst);
35 GHashTable* RrColorHash (const RrInstance *inst);
36
37 #endif
This page took 0.032977 seconds and 4 git commands to generate.