blob: dcc5cb861635729d508a453916cb59db1bb83a4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#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
|