dockapps/wmweather+-2.12/wmgeneral/wmgeneral-x11.h
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

38 lines
774 B
C

#ifndef WMGENERAL_X11_H_INCLUDED
#define WMGENERAL_X11_H_INCLUDED
#include <X11/xpm.h>
/************/
/* Typedefs */
/************/
typedef struct {
Pixmap pixmap;
Pixmap mask;
XpmAttributes attributes;
} XpmIcon;
/*******************/
/* Global variable */
/*******************/
Display *display;
/***********************/
/* Function Prototypes */
/***********************/
void openDockWindow(int argc, char *argv[], char **, char *, int, int);
void RedrawWindow(void);
void RedrawWindowXY(int x, int y);
Pixel GetColor(char *);
void GetXPM(XpmIcon *, char **);
void createXBMfromXPM(char *, char **, int, int);
void copyPixmapArea(int, int, int, int, int, int);
void copyMaskArea(int, int, int, int, int, int);
void setMaskXY(int, int);
#endif