OSDN Git Service

Updated to tk 8.4.1
[pf3gnuchains/sourceware.git] / tk / generic / tkCanvas.h
index 103c874..a247f8a 100644 (file)
@@ -293,21 +293,6 @@ typedef struct TkCanvas {
  */
 
 extern int             TkCanvPostscriptCmd _ANSI_ARGS_((TkCanvas *canvasPtr,
-                           Tcl_Interp *interp, int argc, char **argv));
-
-/*
- * The following definition is shared between tkCanvPs.c and tkCanvImg.c, 
- * and is used in generating postscript for images and windows.
- */
-
-typedef struct TkColormapData {        /* Hold color information for a window */
-    int separated;             /* Whether to use separate color bands */
-    int color;                 /* Whether window is color or black/white */
-    int ncolors;               /* Number of color values stored */
-    XColor *colors;            /* Pixel value -> RGB mappings */
-    int red_mask, green_mask, blue_mask;       /* Masks and shifts for each */
-    int red_shift, green_shift, blue_shift;    /* color band */
-} TkColormapData;
+                           Tcl_Interp *interp, int argc, CONST char **argv));
 
 #endif /* _TKCANVAS */
-