From 1722b2c0fd84876c0e2d5e374bdb85f3151cff36 Mon Sep 17 00:00:00 2001 From: Oleksandr Zahoruiko Date: Thu, 21 Mar 2024 17:54:22 +0200 Subject: [PATCH] Update Circle.h --- Circle.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 +};