From 7b318c5156ae8b4c9a014717416ceaab7cf2aade Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 14 Mar 2024 10:23:18 +1100 Subject: Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours. Use symbolic constants for colour components, fixing 'magic number' warnings. --- src/LineMarker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LineMarker.h') diff --git a/src/LineMarker.h b/src/LineMarker.h index e82d6fe1e..8703f8599 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -24,7 +24,7 @@ public: Scintilla::MarkerSymbol markType = Scintilla::MarkerSymbol::Circle; ColourRGBA fore = black; ColourRGBA back = white; - ColourRGBA backSelected = ColourRGBA(0xff, 0x00, 0x00); + ColourRGBA backSelected = ColourRGBA(maximumByte, 0, 0); // Red default Scintilla::Layer layer = Scintilla::Layer::Base; Scintilla::Alpha alpha = Scintilla::Alpha::NoAlpha; XYPOSITION strokeWidth = 1.0f; -- cgit v1.2.3