5 #define _XFT_NO_COMPAT_ /* no Xft 1 API */
6 #include <X11/Xft/Xft.h>
27 Background_ParentRelative,
29 Background_Horizontal,
32 Background_CrossDiagonal,
45 typedef struct PlanarSurface {
46 SurfaceColorType grad;
51 color_rgb *border_color;
57 typedef struct NonplanarSurface {
63 NonplanarSurface nonplanar;
66 typedef struct Surface {
68 SurfaceColorType colortype;
83 typedef struct TextureText {
98 typedef struct TextureMask {
103 typedef struct TextureRGBA {
113 typedef struct Texture {
118 typedef struct Appearance {
126 extern Visual *render_visual;
127 extern int render_depth;
128 extern Colormap render_colormap;
130 void (*paint)(Window win, Appearance *l, int x, int y, int w, int h);
132 void render_startup(void);
133 void init_appearance(Appearance *l);
134 void x_paint(Window win, Appearance *l, int x, int y, int w, int h);
135 void render_shutdown(void);
136 Appearance *appearance_new(SurfaceType type, int numtex);
137 Appearance *appearance_copy(Appearance *a);
138 void appearance_free(Appearance *a);
139 void truecolor_startup(void);
140 #endif /*__render_h*/