wmcore: use CC variable.
[dockapps.git] / wmtv / src / wmgeneral / wmgeneral.h
blobf4b4ba9467fd5c20b1e9e3c5d50c82690153a1b2
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
4 /***********/
5 /* Defines */
6 /***********/
8 #define MAX_MOUSE_REGION (16)
10 /************/
11 /* Typedefs */
12 /************/
14 typedef struct _rckeys rckeys;
16 struct _rckeys {
17 const char *label;
18 char **var;
21 typedef struct _rckeys2 rckeys2;
23 struct _rckeys2 {
24 const char *family;
25 const char *label;
26 char **var;
29 typedef struct {
30 Pixmap pixmap;
31 Pixmap mask;
32 XpmAttributes attributes;
33 } XpmIcon;
35 /*******************/
36 /* Global variable */
37 /*******************/
39 extern Display *display;
41 /***********************/
42 /* Function Prototypes */
43 /***********************/
45 void AddMouseRegion(int index, int left, int top, int right, int bottom);
46 int CheckMouseRegion(int x, int y);
48 void openXwindow(int argc, char *argv[], char **, char *, int, int);
49 void RedrawWindow(void);
50 void RedrawWindowXYWH(int x, int y, int w, int h);
52 void createXBMfromXPM(char *, char **, int, int);
53 void copyXPMArea(int, int, int, int, int, int);
54 void copyXBMArea(int, int, int, int, int, int);
55 void setMaskXY(int, int);
57 extern Window win, iconwin;
58 extern char *exef;
59 extern char *display_name;
60 extern char *geometry;
61 extern char *exe;
62 #endif