Make xevalgraph.c backend
[xboard.git] / draw.h
diff --git a/draw.h b/draw.h
index a7bdfce..9083968 100644 (file)
--- a/draw.h
+++ b/draw.h
 #define DRAWABLE(X) ((cairo_surface_t *) ((X)->choice))
 
 // defined in xboard.c
-int MakeColors P((void));
 void ResizeBoardWindow P((int w, int h, int inhibit));
 void CreateGrid P((void));
 void CreateGCs P((int redo));
 void DelayedDrag P((void));
-void ReadBitmap P((Pixmap *pm, String name, unsigned char bits[],
-                  u_int wreq, u_int hreq));
 
-extern XFontStruct *coordFontStruct, *countFontStruct;
-extern Font coordFontID, countFontID;
-extern int xScreen;
 extern int lineGap, squareSize;
-extern Pixel lightSquareColor, darkSquareColor, whitePieceColor, blackPieceColor,
-  highlightSquareColor, premoveHighlightColor;
 
 // defined in draw.c
-void InitDrawingHandle P((Option *opt));
 void CreateGCs P((int redo));
-void NewSurfaces P((void));
 void CreateAnyPieces P((void));
 void CreatePNGPieces P((void));
 void CreateGrid P((void));
+void DrawSegment P((int x, int y, int *lastX, int *lastY, int p));
+void DrawRectangle P((int left, int top, int right, int bottom, int side, int style));
+void DrawEvalText P((char *buf, int cbBuf, int y));
+extern Option *disp;
+
+// defined in evaldraw.c
+float Color P((char *col, int n));
 
 // defined in xoptions.c
 void GraphExpose P((Option *opt, int x, int y, int w, int h));