From d3deaacf51e0d459c8025d6a411acf0bc8b17945 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 25 Mar 2021 09:16:32 +1100 Subject: Shorten names as containers provide context. --- src/Geometry.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Geometry.h') diff --git a/src/Geometry.h b/src/Geometry.h index bab50d502..b17588c39 100644 --- a/src/Geometry.h +++ b/src/Geometry.h @@ -252,10 +252,10 @@ public: */ class Stroke { public: - ColourAlpha colourStroke; - XYPOSITION widthStroke; - constexpr Stroke(ColourAlpha colourStroke_, XYPOSITION widthStroke_=1.0f) noexcept : - colourStroke(colourStroke_), widthStroke(widthStroke_) { + ColourAlpha colour; + XYPOSITION width; + constexpr Stroke(ColourAlpha colour_, XYPOSITION width_=1.0f) noexcept : + colour(colour_), width(width_) { } }; @@ -264,9 +264,9 @@ public: */ class Fill { public: - ColourAlpha colourFill; - constexpr Fill(ColourAlpha colourFill_) noexcept : - colourFill(colourFill_) { + ColourAlpha colour; + constexpr Fill(ColourAlpha colour_) noexcept : + colour(colour_) { } }; -- cgit v1.2.3