diff options
Diffstat (limited to 'app/fvwm/extras/FvwmWharf/stepgfx.h')
-rw-r--r-- | app/fvwm/extras/FvwmWharf/stepgfx.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/fvwm/extras/FvwmWharf/stepgfx.h b/app/fvwm/extras/FvwmWharf/stepgfx.h new file mode 100644 index 000000000..902f5a06f --- /dev/null +++ b/app/fvwm/extras/FvwmWharf/stepgfx.h @@ -0,0 +1,33 @@ + + + +#ifndef STEPGFX_H_ +#define STEPGFX_H_ + +#define TEXTURE_SOLID 0 +#define TEXTURE_GRADIENT 1 +#define TEXTURE_HGRADIENT 2 +#define TEXTURE_HCGRADIENT 3 +#define TEXTURE_VGRADIENT 4 +#define TEXTURE_VCGRADIENT 5 + +#define TEXTURE_PIXMAP 128 + +#define TEXTURE_BUILTIN 255 + +extern int DrawVGradient(Display *dpy, Drawable d, int x, int y, int w, int h, + int from[3], int to[3], int relief, int maxcols, + int type); +extern int DrawHGradient(Display *dpy, Drawable d, int x, int y, int w, int h, + int from[3], int to[3], int relief, int maxcols, + int type); +extern int DrawDegradeRelief(Display *dpy, Drawable d, int x, int y, int w, + int h, int from[3], int to[3], int relief, + int maxcols); +extern void DrawTexturedText(Display *dpy, Drawable d, XFontStruct *font, + int x, int y, Pixmap gradient, char *text, int chars); + +extern int MakeShadowColors(Display *dpy, int from[3], int to[3], + unsigned long *dark, unsigned long *light); + +#endif |