X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.h;h=cbf77f4721fda3721e0d987ffb6f5a299706e9e3;hb=7e0222e64da6706bf0dc2468f459b98e4346206b;hp=2cb0fe84b83196bc206416bdb628d5a13773d85d;hpb=224ed6301ed95439f1fe5b8b678d671cbeeaa2dc;p=xboard.git diff --git a/draw.h b/draw.h index 2cb0fe8..cbf77f4 100644 --- a/draw.h +++ b/draw.h @@ -49,15 +49,15 @@ *------------------------------------------------------------------------ ** 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 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)); -cairo_surface_t *GetOutputSurface P((Option *opt, int w, int h)); extern XFontStruct *coordFontStruct, *countFontStruct; extern Font coordFontID, countFontID; @@ -68,8 +68,10 @@ extern Pixel lightSquareColor, darkSquareColor, whitePieceColor, blackPieceColor // defined in draw.c 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)); +