| 72 | } |
| 73 | |
| 74 | void failure(QPainter &painter, int x, int y, bool selected) |
| 75 | { |
| 76 | using namespace traditional; |
| 77 | if (selected) |
| 78 | { |
| 79 | painter.setBrush(colors::gold); |
| 80 | } |
| 81 | else |
| 82 | { |
| 83 | painter.setBrush(colors::red); |
| 84 | } |
| 85 | |
| 86 | painter.drawRect(x - HALF_FAILED_WIDTH, y, FAILED_WIDTH, FAILED_WIDTH); |
| 87 | } |
| 88 | |
| 89 | void branch(QPainter &painter, int x, int y, bool selected) |
| 90 | { |
no test coverage detected