rnd-19990205-1
[rocksndiamonds.git] / src / image.h
index 50335eea15a5eaff0117bbe4a4f0f217c49ad3b8..6315340eaf9d5d98371f2aaabd7b9195f7e2ca47 100644 (file)
@@ -23,7 +23,6 @@ typedef unsigned short Intensity;     /* RGB intensity for X11 */
 typedef struct
 {
   Display  *display;           /* destination display             */
-  int       screen;            /* destination screen              */
   int       depth;             /* depth of destination drawable   */
   Pixel     index[MAX_COLORS]; /* array of pixel values           */
   int       no;                        /* number of pixels in the array   */
@@ -50,16 +49,8 @@ typedef struct
   byte         *data;          /* image data                          */
 } Image;
 
-#define PCX_Success             0
-#define PCX_OpenFailed         -1
-#define PCX_ReadFailed         -2
-#define        PCX_FileInvalid         -3
-#define PCX_NoMemory           -4
-#define PCX_ColorFailed                -5
+int Read_PCX_to_Pixmap(Display *, Window, GC, char *, Pixmap *, Pixmap *);
 
-int Read_PCX_to_Pixmaps(Display *, Window, GC, char *, Pixmap *, Pixmap *);
-
-Image *Read_PCX_to_Image(char *);
 Image *newImage(unsigned int, unsigned int, unsigned int);
 void freeImage(Image *);
 void freeXImage(Image *, XImageInfo *);