wmxres: Increase buffer size to avoid format-overlow warnings.
[dockapps.git] / wmmoonclock / src / xutils.h
blob5edebec9de619ac94c89e6eb310edc63246d1ca5
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
4 #include <X11/X.h>
5 #include <X11/Xlib.h>
6 #include <X11/xpm.h>
8 /*
9 * Typedefs
11 typedef struct {
12 Pixmap pixmap;
13 Pixmap mask;
14 XpmAttributes attributes;
15 } XpmIcon;
21 * Global variable
23 extern Display *display;
24 extern Window Root;
25 extern Window iconwin, win;
26 extern int screen;
27 extern int DisplayDepth;
34 * Function Prototypes
36 void AddMouseRegion(int, int, int, int, int);
37 int CheckMouseRegion(int, int);
38 void openXwindow(int, char **, char **, char *, int, int, char *, char *, char *);
39 void initXwindow(int, char **);
40 void RedrawWindow(void);
41 void RedrawWindowXY(int, int);
42 void copyXPMArea(int, int, int, int, int, int);
43 void copyXBMArea(int, int, int, int, int, int);
44 void setMaskXY(int, int);
45 unsigned long getColor(char *, float);
46 void RedrawWindow(void);
49 #endif