X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=9170e7f75f8c2cb903f3c4aafa24755ec4fc26da;hb=0c8683b53b368988cd8af18665ec5f105675c7ef;hp=e777ea903c61d830d856712501a2534e763ffec8;hpb=d83fef11e9319aace3387c825bd8e5e574cf1b22;p=xboard.git diff --git a/xboard.c b/xboard.c index e777ea9..9170e7f 100644 --- a/xboard.c +++ b/xboard.c @@ -4639,6 +4639,12 @@ void DrawSquare(row, column, piece, do_flash) } } if(!partnerUp && marker[row][column]) { + if(appData.monoMode) { + XFillArc(xDisplay, xBoardWindow, marker[row][column] == 2 ? darkSquareGC : lightSquareGC, + x + squareSize/4, y+squareSize/4, squareSize/2, squareSize/2, 0, 64*360); + XDrawArc(xDisplay, xBoardWindow, marker[row][column] == 2 ? lightSquareGC : darkSquareGC, + x + squareSize/4, y+squareSize/4, squareSize/2, squareSize/2, 0, 64*360); + } else XFillArc(xDisplay, xBoardWindow, marker[row][column] == 2 ? prelineGC : highlineGC, x + squareSize/4, y+squareSize/4, squareSize/2, squareSize/2, 0, 64*360); }