wmload: Clarify copyright information.
[dockapps.git] / wmSMPmon / wmgeneral / wmgeneral.h
blobe9d6ca646d2ca912a2bddd96458bf47ccdd2bddc
1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
4 /***********/
5 /* Defines */
6 /***********/
8 #define MAX_MOUSE_REGION (16)
10 /************/
11 /* Typedefs */
12 /************/
14 typedef struct _rckeys rckeys;
16 struct _rckeys {
17 const char *label;
18 char **var;
21 typedef struct _rckeys2 rckeys2;
23 struct _rckeys2 {
24 const char *family;
25 const char *label;
26 char **var;
29 typedef struct {
30 Pixmap pixmap;
31 Pixmap mask;
32 XpmAttributes attributes;
33 } XpmIcon;
35 /*******************/
36 /* Global variable */
37 /*******************/
39 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 RedrawWindowXY(int x, int y);
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 void parse_rcfile(const char *, rckeys *);
59 #endif