diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-20 07:58:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-20 07:58:51 +0000 |
| commit | 3f32dfa87e08556d7f6a58efab9b7479e515be26 (patch) | |
| tree | 95aba7a2acfefeab50b6f98b6dcad92f4c0a53c7 /render/instance.h | |
| parent | 49268650b4564def10eeb0d21d5c0dffa4972857 (diff) | |
this is going to break the kernel/ building.
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.
Diffstat (limited to 'render/instance.h')
| -rw-r--r-- | render/instance.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/render/instance.h b/render/instance.h new file mode 100644 index 00000000..53e89d30 --- /dev/null +++ b/render/instance.h @@ -0,0 +1,31 @@ +#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 |
