wmclockmon: rename `DFLAGS` `debug_CFLAGS`
[dockapps.git] / yawmppp / src / dockapp / wmgeneral.h
blob392351c7028688f35e3b241e4574fbb0c9a0795b
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 {
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(unsigned 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 RedrawWindowXY(int x, int y);
37 void createXBMfromXPM(char *, char **, int, int);
38 void copyXPMArea(int, int, int, int, int, int);
39 void copyXBMArea(int, int, int, int, int, int);
40 void setMaskXY(int, int);
42 #endif