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
{
119 typedef struct Appearance
{
127 extern Visual
*render_visual
;
128 extern int render_depth
;
129 extern Colormap render_colormap
;
131 void (*paint
)(Window win
, Appearance
*l
, int x
, int y
, int w
, int h
);
133 void render_startup(void);
134 void init_appearance(Appearance
*l
);
135 void x_paint(Window win
, Appearance
*l
, int x
, int y
, int w
, int h
);
136 void render_shutdown(void);
137 Appearance
*appearance_new(SurfaceType type
, int numtex
);
138 Appearance
*appearance_copy(Appearance
*a
);
139 void appearance_free(Appearance
*a
);
140 void truecolor_startup(void);
141 #endif /*__render_h*/