Make draw handle for board globally available
[xboard.git] / draw.h
diff --git a/draw.h b/draw.h
index a606214..a7bdfce 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -59,7 +59,6 @@ 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));
-cairo_surface_t *GetOutputSurface P((Option *opt, int w, int h));
 
 extern XFontStruct *coordFontStruct, *countFontStruct;
 extern Font coordFontID, countFontID;
@@ -69,6 +68,7 @@ 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));
@@ -76,6 +76,5 @@ void CreatePNGPieces P((void));
 void CreateGrid P((void));
 
 // defined in xoptions.c
-void DrawExpose P((Option *opt, int x, int y, int w, int h));
-
+void GraphExpose P((Option *opt, int x, int y, int w, int h));