#ifndef XUTIL_H_INCLUDED #define XUTIL_H_INCLUDED /* * Typedefs */ typedef struct { Pixmap pixmap; Pixmap mask; XpmAttributes attributes; } XpmIcon; /* * Global variables */ Display *display; Window Root; Window iconwin, win; int screen; int DisplayDepth; /* * Function Prototypes */ void AddMouseRegion( int, int, int, int, int ); int CheckMouseRegion( int, int ); void openXwindow( int, char**, char**, char*, int, int, char*, char*, char*, char* ); void initXwindow(int, char**); void RedrawWindow(void); void RedrawWindowXY(int, int); void copyXPMArea(int, int, int, int, int, int); void copyXBMArea(int, int, int, int, int, int); void setMaskXY(int, int); unsigned long getColor(char *, float); #endif