wmail: updated change-log and bumped to 2.2.
[dockapps.git] / wmcalclockkbd / src / xutils.h
blob122d15a93ffc7b4b2c14c042449858f318342fb6
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
6 /*
7 * Typedefs
8 */
9 typedef struct {
10 Pixmap pixmap;
11 Pixmap mask;
12 XpmAttributes attributes;
13 } XpmIcon;
19 * Global variable
21 Display *display;
22 Window Root;
23 Window iconwin, win;
24 int screen;
25 int DisplayDepth;
32 * Function Prototypes
34 void AddMouseRegion(int, int, int, int, int);
35 int CheckMouseRegion(int, int);
36 void openXwindow(int, char **, char **, char *, int, int);
37 void initXwindow(int, char **);
38 void RedrawWindow(void);
39 void RedrawWindowXY(int, int);
40 void copyXPMArea(int, int, int, int, int, int);
41 void copyXBMArea(int, int, int, int, int, int);
42 void setMaskXY(int, int);
43 unsigned long getColor(char *, float, int *, int *, int *);
44 unsigned long getBlendedColor(char *, float, int, int, int);
45 void RedrawWindow(void);
46 int LoadKbImg(char *names);
47 void CreateKbTranImgs(void);
48 void ShowGroupImage(int group);
51 #endif