Skip to content

Commit

Permalink
Update Circle.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmeat authored Mar 21, 2024
1 parent 38ab137 commit 1722b2c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Circle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

class Circle : public virtual Figure
{
protected:
COLORREF color;

public:
Circle(int center_X, int center_Y, int radius, COLORREF color = RGB(255, 0, 0))
: Figure(center_X - radius, center_Y - radius, radius * 2, radius * 2)
Expand Down Expand Up @@ -43,4 +40,4 @@ class Circle : public virtual Figure
SetBrush(color);
Ellipse(hdc, tl.GetX(), tl.GetY(), tl.GetX() + width, tl.GetY() + height);
}
};
};

0 comments on commit 1722b2c

Please # to comment.