wmapm: Add version 3.1 to repository.
[dockapps.git] / wmapm / wmgeneral / wmgeneral.h
blob55b37dd780117695908757b58b5cfff99d8e3184
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 _rckeys rckeys;
16 struct _rckeys {
17 const char *label;
18 char **var;
21 typedef struct {
22 Pixmap pixmap;
23 Pixmap mask;
24 XpmAttributes attributes;
25 } XpmIcon;
27 /*******************/
28 /* Global variable */
29 /*******************/
31 Display *display;
33 /***********************/
34 /* Function Prototypes */
35 /***********************/
37 void AddMouseRegion(int index, int left, int top, int right, int bottom);
38 int CheckMouseRegion(int x, int y);
40 void openXwindow(int argc, char *argv[], char **, char *, int, int);
41 void RedrawWindow(void);
42 void RedrawWindowXY(int x, int y);
44 void copyXPMArea(int, int, int, int, int, int);
45 void copyXBMArea(int, int, int, int, int, int);
46 void setMaskXY(int, int);
48 void parse_rcfile(const char *, rckeys *);
50 #endif