\r
void DrawSeekDot(int x, int y, int color)\r
{\r
+ int square = color & 0x80;\r
+ color &= 0x7F;\r
HBRUSH oldBrush = SelectObject(hdcSeek, \r
color == 0 ? markerBrush : color == 1 ? darkSquareBrush : explodeBrush);\r
+ if(square)\r
+ Rectangle(hdcSeek, boardRect.left+x - squareSize/9, boardRect.top+y - squareSize/9,\r
+ boardRect.left+x + squareSize/9, boardRect.top+y + squareSize/9);\r
+ else\r
Ellipse(hdcSeek, boardRect.left+x - squareSize/8, boardRect.top+y - squareSize/8,\r
boardRect.left+x + squareSize/8, boardRect.top+y + squareSize/8);\r
SelectObject(hdcSeek, oldBrush);\r