1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
6 #include <X11/extensions/shape.h>
13 #define MAX_MOUSE_REGION (16)
19 typedef struct _rckeys rckeys
;
26 typedef struct _rckeys2 rckeys2
;
37 XpmAttributes attributes
;
45 Window Root
, iconwin
, win
;
49 /***********************/
50 /* Function Prototypes */
51 /***********************/
53 void AddMouseRegion(unsigned index
, int left
, int top
, int right
, int bottom
);
54 int CheckMouseRegion(int x
, int y
);
56 void openXwindow(int argc
, char *argv
[], char **, char *, int, int);
57 void RedrawWindow(void);
58 void RedrawWindowXY(int x
, int y
);
60 void createXBMfromXPM(char *, char **, int, int);
61 void copyXPMArea(int, int, int, int, int, int);
62 void copyXBMArea(int, int, int, int, int, int);
63 void setMaskXY(int, int);
65 void parse_rcfile(const char *, rckeys
*);
68 void draw_char(char c
, int x
, int y
);
69 void draw_string(char *s
, int x
, int y
);