Add comments and better format of the code

This commit is contained in:
lupoDharkael
2017-05-14 02:04:10 +02:00
parent 811c714a81
commit ae19e5f13e
10 changed files with 42 additions and 41 deletions

View File

@@ -49,7 +49,7 @@ QColor CaptureModification::getColor() const {
QVector<QPoint> CaptureModification::getPoints() const {
return m_coords;
}
// addPoint adds a point to the vector of points
void CaptureModification::addPoint(const QPoint p) {
if (m_type == Button::Type::circle || m_type == Button::Type::rectangle
|| m_type == Button::Type::arrow || m_type == Button::Type::line ||