X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xevalgraph.c;h=95e10c12d7c28649bb9f4ecc9a4f52bbeaf110ae;hb=72f96a2581a9b7b0682e34cbf391d19d834c3d15;hp=6430471d97a8933d47618e4ee08114f3e3d1ebd0;hpb=4bfad947161d93ce1b566093211bd05f368bdffe;p=xboard.git diff --git a/xevalgraph.c b/xevalgraph.c index 6430471..95e10c1 100644 --- a/xevalgraph.c +++ b/xevalgraph.c @@ -112,7 +112,7 @@ static GC hbrHist[3]; // [HGM] front-end, added as wrapper to avoid use of LineTo and MoveToEx in other routines (so they can be back-end) void -DrawSegment (int x, int y, int *lastX, int *lastY, int penType) +DrawSegment (int x, int y, int *lastX, int *lastY, enum PEN penType) { static int curX, curY; @@ -181,8 +181,8 @@ InitializeEvalGraph (Option *opt) pens[PEN_BLACK] = CreateGC(1, "black", "black", LineSolid); pens[PEN_DOTTED] = CreateGC(1, "#A0A0A0", "#A0A0A0", LineOnOffDash); pens[PEN_BLUEDOTTED] = CreateGC(1, "#0000FF", "#0000FF", LineOnOffDash); - pens[PEN_BOLD] = CreateGC(3, crWhite, crWhite, LineSolid); - pens[PEN_BOLD+1] = CreateGC(3, crBlack, crBlack, LineSolid); + pens[PEN_BOLDWHITE] = CreateGC(3, crWhite, crWhite, LineSolid); + pens[PEN_BOLDBLACK] = CreateGC(3, crBlack, crBlack, LineSolid); hbrHist[0] = CreateGC(3, crWhite, crWhite, LineSolid); hbrHist[1] = CreateGC(3, crBlack, crBlack, LineSolid); hbrHist[2] = CreateGC(3, "#E0E0F0", "#E0E0F0", LineSolid);; // background (a bit blueish, for contrst with yellow curve)