1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|