X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.h;h=1d1511fce55bd9883f9021f57b23844e388c66a6;hb=1eb96d7121b161a946efaf18eded57d630f21ad1;hp=517e067b1df5146af834180aae0a5e888f522688;hpb=b16fa6548a01d63f00b21e73e1d58009c88d20e4;p=xboard.git diff --git a/draw.h b/draw.h index 517e067..1d1511f 100644 --- a/draw.h +++ b/draw.h @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -61,12 +62,13 @@ extern int lineGap, squareSize; // defined in draw.c void CreateGCs P((int redo)); -void CreateAnyPieces P((void)); +void CreateAnyPieces P((int p)); 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)); +void DrawText P((char *string, int x, int y, int align)); extern Option *disp; extern char svgDir[];