*------------------------------------------------------------------------
** See the file ChangeLog for a revision history. */
+#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 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;
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));
+// defined in xoptions.c
+void GraphExpose P((Option *opt, int x, int y, int w, int h));
+