dockapps/wmMatrix/xutils.h

41 lines
875 B
C
Raw Normal View History

2012-08-14 13:04:14 +00:00
#ifndef WMGENERAL_H_INCLUDED
#define WMGENERAL_H_INCLUDED
/*
* Typedefs
*/
typedef struct {
2012-08-14 13:04:20 +00:00
Pixmap pixmap;
Pixmap mask;
XpmAttributes attributes;
2012-08-14 13:04:14 +00:00
} XpmIcon;
/*
* Global variable
*/
2012-08-14 13:04:20 +00:00
Display *display;
Window Root;
Window iconwin, win;
int screen;
int DisplayDepth;
2012-08-14 13:04:14 +00:00
/*
* Function Prototypes
*/
2012-08-14 13:04:20 +00:00
void AddMouseRegion(int, int, int, int, int);
int CheckMouseRegion(int, int);
void openXwindow(int, char **, char **, char *, int, int);
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, int *, int *, int *);
unsigned long getBlendedColor(char *, float, int, int, int);
void RedrawWindow(void);
void uusleep(unsigned long);
void short_uusleep(unsigned long);
2012-08-14 13:04:14 +00:00
#endif