wmcore: use pkg-config in Makefile.
[dockapps.git] / wmMatrix / xutils.h
blob04117834934b84429be69465fa2b47a64d088e84
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
4 /*
5 * Typedefs
6 */
7 typedef struct {
8 Pixmap pixmap;
9 Pixmap mask;
10 XpmAttributes attributes;
11 } XpmIcon;
14 * Global variable
16 Display *display;
17 Window Root;
18 Window iconwin, win;
19 int screen;
20 int DisplayDepth;
23 * Function Prototypes
25 void AddMouseRegion(int, int, int, int, int);
26 int CheckMouseRegion(int, int);
27 void openXwindow(int, char **, char **, char *, int, int);
28 void initXwindow(int, char **);
29 void RedrawWindow(void);
30 void RedrawWindowXY(int, int);
31 void copyXPMArea(int, int, int, int, int, int);
32 void copyXBMArea(int, int, int, int, int, int);
33 void setMaskXY(int, int);
34 unsigned long getColor(char *, float, int *, int *, int *);
35 unsigned long getBlendedColor(char *, float, int, int, int);
36 void RedrawWindow(void);
37 void uusleep(unsigned long);
38 void short_uusleep(unsigned long);
40 #endif