Add missing libraries to examples' Makefiles
[dockapps.git] / wmdonkeymon / wmgeneral / wmgeneral.h
blob89d96f0a8eed46fa98c3d990f2ae8b8a30b29cc5
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(unsigned index, int left, int top, int right, int bottom);
38 void DelMouseRegion(int index);
39 int CheckMouseRegion(int x, int y);
41 void openXwindow(int argc, char *argv[], char **, char *, int, int);
42 void RedrawWindow(void);
43 void RedrawWindowXY(int x, int y);
45 void copyXPMArea(int, int, int, int, int, int);
46 void copyXBMArea(int, int, int, int, int, int);
47 void setMaskXY(int, int);
49 void parse_rcfile(const char *, rckeys *);
51 #endif