diff --git a/Circle.h b/Circle.h index 94c607c..fa17af2 100644 --- a/Circle.h +++ b/Circle.h @@ -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) @@ -43,4 +40,4 @@ class Circle : public virtual Figure SetBrush(color); Ellipse(hdc, tl.GetX(), tl.GetY(), tl.GetX() + width, tl.GetY() + height); } -}; \ No newline at end of file +};