Skip to content

Commit

Permalink
1.0 Official Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Harinlen committed Jun 4, 2015
1 parent 20b7066 commit 525b9f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ground.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,12 @@ void Ground::paintEvent(QPaintEvent *event)

//Draw the barracks.
painter.setPen(m_groundGlobal->barracksColor());
painter.setBrush(QColor(0,0,0,0));
borderBrush.setColor(m_groundGlobal->barracksColor());
borderBrush.setStyle(Qt::DiagCrossPattern);
painter.setOpacity(0.5);
painter.setBrush(borderBrush);
painter.drawPolygon(m_barracks);
painter.setOpacity(1.0);

//Draw all the robot.
if(m_robotList.isEmpty())
Expand Down

0 comments on commit 525b9f4

Please sign in to comment.