/*
* evalgraph.h -- Evaluation Graph window
*
- * Copyright 2000, 2009, 2010, 2011 Free Software Foundation, Inc.
+ * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
*
* Enhancements Copyright 2005 Alessandro Scotti
*
* along with this program. If not, see http://www.gnu.org/licenses/. *
*
*------------------------------------------------------------------------
- ** See the file ChangeLog for a revision history.
+ ** See the file ChangeLog for a revision history.
*/
#define MIN_HIST_WIDTH 4
#define MAX_HIST_WIDTH 10
-#define PEN_NONE 0
-#define PEN_BLACK 1
-#define PEN_DOTTED 2
-#define PEN_BLUEDOTTED 3
-#define PEN_BOLD 4 /* or 5 for black */
+typedef enum { PEN_NONE, PEN_BLACK, PEN_DOTTED, PEN_BLUEDOTTED, PEN_BOLDWHITE, PEN_BOLDBLACK, PEN_BACKGD, PEN_ANY } PenType;
#define FILLED 1
#define OPEN 0
extern int currFirst;
extern int currLast;
extern int currCurrent;
+extern int differentialView;
extern int nWidthPB;
extern int nHeightPB;
extern int MarginH;
// calls from back-end part into front-end part
-void DrawSegment( int x, int y, int *lastX, int *lastY, int penType );
+void DrawSegment( int x, int y, int *lastX, int *lastY, int p );
void DrawRectangle( int left, int top, int right, int bottom, int side, int style );
void DrawEvalText(char *buf, int cbBuf, int y);
+void EvalGraphSet P(( int first, int last, int current, ChessProgramStats_Move * pvInfo ));
// calls of front-end part into back-end part
extern int GetMoveIndexFromPoint( int x, int y );
extern void PaintEvalGraph( void );
extern char *MakeEvalTitle( char *title );
-