1 #ifndef WMGENERAL_H_INCLUDED
2 #define WMGENERAL_H_INCLUDED
8 #define MAX_MOUSE_REGION (40)
14 typedef struct _rckeys rckeys
;
21 typedef struct _rckeys2 rckeys2
;
32 XpmAttributes attributes
;
41 /***********************/
42 /* Function Prototypes */
43 /***********************/
45 void AddMouseRegion(unsigned int rgn_index
, int left
, int top
, int right
,
47 int CheckMouseRegion(int x
, int y
);
49 void openXwindow(int argc
, const char *argv
[], const char **,
50 const char **, char *, int, int, int);
51 void RedrawWindow(void);
52 void RedrawWindowXY(int x
, int y
);
54 void createXBMfromXPM(char *, const char **, int, int);
55 void copyXPMArea(int, int, int, int, int, int);
56 void copyXBMArea(int, int, int, int, int, int);
57 void setMaskXY(int, int);
59 void parse_rcfile(const char *, rckeys
*);
62 int loadFont(const char *fontname
); /* -1 on fail, 0 success. */
63 void drawString(int dest_x
, int dest_y
, const char *string
,
64 const char *colorname
, const char *bgcolorname
,
66 void eraseRect(int x
, int y
, int x2
, int y2
, const char *bgcolorname
);