From dc826c6521eefebe0095e033cdde61f40c56ae6f Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 5 Dec 2021 10:57:18 -0600 Subject: [PATCH] ArdourCanvas Rectangle: allow subclasses access to _rect --- libs/canvas/canvas/rectangle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/canvas/canvas/rectangle.h b/libs/canvas/canvas/rectangle.h index 6528471949..cbf7a3a23a 100644 --- a/libs/canvas/canvas/rectangle.h +++ b/libs/canvas/canvas/rectangle.h @@ -102,11 +102,13 @@ public: void dump (std::ostream&) const; - private: + protected: /** Our rectangle; note that x0 may not always be less than x1 * and likewise with y0 and y1. */ Rect _rect; + + private: What _outline_what; double _corner_radius; };