Fix initial display of logos
[xboard.git] / draw.h
diff --git a/draw.h b/draw.h
index 2cb0fe8..a606214 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -49,6 +49,8 @@
  *------------------------------------------------------------------------
  ** 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));
@@ -73,3 +75,7 @@ void CreateAnyPieces P((void));
 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));
+
+