10 #if (G_BYTE_ORDER == G_BIG_ENDIAN)
11 #define default_red_offset 0
12 #define default_green_offset 8
13 #define default_blue_offset 16
14 #define default_alpha_offset 24
15 #define render_endian MSBFirst
17 #define default_alpha_offset 24
18 #define default_red_offset 16
19 #define default_green_offset 8
20 #define default_blue_offset 0
21 #define render_endian LSBFirst
22 #endif /* G_BYTE_ORDER == G_BIG_ENDIAN */
25 const RrInstance *inst;
34 void color_allocate_gc(RrColor *in);
35 XColor *pickColor(const RrInstance *inst, gint r, gint g, gint b);
36 void reduce_depth(const RrInstance *inst, RrPixel32 *data, XImage *im);
37 void increase_depth(const RrInstance *inst, RrPixel32 *data, XImage *im);
39 #endif /* __color_h */