diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-25 09:16:32 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-25 09:16:32 +1100 |
commit | d3deaacf51e0d459c8025d6a411acf0bc8b17945 (patch) | |
tree | 49e2e39ffeceb72a692a3fa195ce0ca148d3002f /src/Geometry.h | |
parent | 8b8a02b4bd250d28bc0f42287ca3d167b7210f39 (diff) | |
download | scintilla-mirror-d3deaacf51e0d459c8025d6a411acf0bc8b17945.tar.gz |
Shorten names as containers provide context.
Diffstat (limited to 'src/Geometry.h')
-rw-r--r-- | src/Geometry.h | 14 |
1 files changed, 7 insertions, 7 deletions
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_) { } }; |