*
* Copyright 2005 Alessandro Scotti
*
- * Enhancments Copyright 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ * Enhancments Copyright 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
*
* ------------------------------------------------------------------------
*
// back-end
static void
-DrawLine (int x1, int y1, int x2, int y2, enum PEN penType)
+DrawLine (int x1, int y1, int x2, int y2, int penType)
{
DrawSegment( x1, y1, NULL, NULL, PEN_NONE );
DrawSegment( x2, y2, NULL, NULL, penType );
// back-end
static void
-DrawLineEx (int x1, int y1, int x2, int y2, enum PEN penType)
+DrawLineEx (int x1, int y1, int x2, int y2, int penType)
{
int savX, savY;
DrawSegment( x1, y1, &savX, &savY, PEN_NONE );
if( depth <=0 ) return title;
if( currCurrent & 1 ) score = -score; /* Flip score for black */
- snprintf(buf, MSG_SIZ, "%s {%d: %s%.2f/%-2d %d}", title, currCurrent/2+1,
+ snprintf(buf, MSG_SIZ, "%s {%d: %s%.2f/%-2d %d}", title, currCurrent/2+1,
score>0 ? "+" : " ", score/100., depth, (currPvInfo[currCurrent].time+50)/100);
return buf;
DrawAxis ()
{
int cy = nHeightPB / 2, space = nHeightPB/(6 + appData.zoom);
-
+
DrawAxisSegmentHoriz( +5, TRUE );
DrawAxisSegmentHoriz( +3, space >= 20 );
DrawAxisSegmentHoriz( +1, space >= 20 && space*appData.zoom >= 40 );