aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-03-14 10:23:18 +1100
committerNeil <nyamatongwe@gmail.com>2024-03-14 10:23:18 +1100
commit7b318c5156ae8b4c9a014717416ceaab7cf2aade (patch)
treed3b9921857bdece9304da784c1ea3cd17a918a46 /src/LineMarker.h
parentafd1e8e565a5d80b622b283a217681981f066495 (diff)
downloadscintilla-mirror-7b318c5156ae8b4c9a014717416ceaab7cf2aade.tar.gz
Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours.
Use symbolic constants for colour components, fixing 'magic number' warnings.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r--src/LineMarker.h2
1 files changed, 1 insertions, 1 deletions
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;