wmclockmon: update change-log
[dockapps.git] / wmcalclockkbd / src / xutils.h
blob392a7db2dee5c4bb39449a7bebc39b4447032b15
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 extern Display *display;
22 extern Window Root;
23 extern Window iconwin, win;
24 extern int screen;
25 extern int DisplayDepth;
29 * Function Prototypes
31 void AddMouseRegion(unsigned, int, int, int, int);
32 int CheckMouseRegion(int, int);
33 void openXwindow(int, char **, char **, char *, int, int);
34 void initXwindow(int, char **);
35 void RedrawWindow(void);
36 void RedrawWindowXY(int, int);
37 void copyXPMArea(int, int, int, int, int, int);
38 void copyXBMArea(int, int, int, int, int, int);
39 void setMaskXY(int, int);
40 unsigned long getColor(char *, float, int *, int *, int *);
41 unsigned long getBlendedColor(char *, float, int, int, int);
42 void RedrawWindow(void);
43 int LoadKbImg(char *names);
44 void CreateKbTranImgs(void);
45 void ShowGroupImage(int group);
48 #endif