Copy purify.fvwm2rc to /tmp - add instructions in README.
[fvwm.git] / modules / FvwmWharf / stepgfx.h
blob8caa40edb4fb8a9b715314df73a126256d6cf45c
1 /* -*-c-*- */
2 #ifndef STEPGFX_H_
3 #define STEPGFX_H_
5 #define TEXTURE_SOLID 0
6 #define TEXTURE_GRADIENT 1
7 #define TEXTURE_HGRADIENT 2
8 #define TEXTURE_HCGRADIENT 3
9 #define TEXTURE_VGRADIENT 4
10 #define TEXTURE_VCGRADIENT 5
11 #define TEXTURE_COLORSET 6
13 #define TEXTURE_PIXMAP 128
15 #define TEXTURE_BUILTIN 255
17 extern int DrawVGradient(Display *dpy, Drawable d, int x, int y, int w, int h,
18 int from[3], int to[3], int relief, int maxcols,
19 int type);
20 extern int DrawHGradient(Display *dpy, Drawable d, int x, int y, int w, int h,
21 int from[3], int to[3], int relief, int maxcols,
22 int type);
23 extern int DrawDegradeRelief(Display *dpy, Drawable d, int x, int y, int w,
24 int h, int from[3], int to[3], int relief,
25 int maxcols);
26 extern void DrawTexturedText(Display *dpy, Drawable d, XFontStruct *font,
27 int x, int y, Pixmap gradient, char *text, int chars);
29 extern int MakeShadowColors(Display *dpy, int from[3], int to[3],
30 unsigned long *dark, unsigned long *light);
32 #endif