X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.h;h=b666150016732a332ffccd56b0698de0c8561294;hb=1c03d229073e56dda9e5856db5adaae51576a3bb;hp=3ba9efe0e768550f260d345226667e1cdda1bcc1;hpb=fd96ae416d3a636f178a64f289c645942fa2d391;p=xboard.git diff --git a/draw.h b/draw.h index 3ba9efe..b666150 100644 --- a/draw.h +++ b/draw.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -52,28 +52,25 @@ #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 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)); -