wmclockmon: replace deprecated `gtk_label_get`
[dockapps.git] / wmifinfo / xutils.h
blob8edbd603c60b0985fbdfcbceb7f673862b4c9312
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;
32 * Function Prototypes
34 void AddMouseRegion(unsigned, int, int, int, int);
35 int CheckMouseRegion(int, int);
36 void openXwindow(int, char **, char **, char *, int, int, char *, char *, char *, char *,char *);
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);
44 void RedrawWindow(void);
47 #endif