Add wmxres 1.2 to the repository
[dockapps.git] / wmxres / wmgeneral / wmgeneral.h
blobfe60498bcc4905e0cc5940fa9716d6ac7729d3fa
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
4 /***********/
5 /* Defines */
6 /***********/
8 #define MAX_MOUSE_REGION (8)
10 /************/
11 /* Typedefs */
12 /************/
14 typedef struct {
15 Pixmap pixmap;
16 Pixmap mask;
17 XpmAttributes attributes;
18 } XpmIcon;
20 /*******************/
21 /* Global variable */
22 /*******************/
24 Display *display;
26 /***********************/
27 /* Function Prototypes */
28 /***********************/
30 void AddMouseRegion(int index, int left, int top, int right, int bottom);
31 int CheckMouseRegion(int x, int y);
33 void openXwindow(int argc, char *argv[], char **, char *, int, int);
34 void RedrawWindow(void);
35 void RedrawWindowXYWH(int x, int y, int w, int h);
37 void copyXPMArea(int, int, int, int, int, int);
38 void copyXBMArea(int, int, int, int, int, int);
39 void setMaskXY(int, int);
41 #endif