3f32dfa87e
lots of modifications to the render API, prefixing everything, making proper names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
31 lines
470 B
C
31 lines
470 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;
|
|
};
|
|
|
|
#endif
|