1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
8 #define MAX_MOUSE_REGION (16)
14 typedef struct _rckeys rckeys
;
21 typedef struct _rckeys2 rckeys2
;
32 XpmAttributes attributes
;
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
;
59 extern char *display_name
;
60 extern char *geometry
;