diff options
author | Neil <nyamatongwe@gmail.com> | 2023-10-10 09:11:27 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-10-10 09:11:27 +1100 |
commit | b20c3b551a4a87888cf00e5f7da22d836015a073 (patch) | |
tree | 4c2f9fd038f52c0b09c322f2f21d444766ad1994 /src/LineMarker.h | |
parent | 74876d72fdd85764ecc0a231bdaa711498178df5 (diff) | |
download | scintilla-mirror-b20c3b551a4a87888cf00e5f7da22d836015a073.tar.gz |
Use global constants for opaque black and white and local constants for greys.
Makes it easier to understand and reduces warnings.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r-- | src/LineMarker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h index 0a60da962..e82d6fe1e 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -22,8 +22,8 @@ public: enum class FoldPart { undefined, head, body, tail, headWithTail }; Scintilla::MarkerSymbol markType = Scintilla::MarkerSymbol::Circle; - ColourRGBA fore = ColourRGBA(0, 0, 0); - ColourRGBA back = ColourRGBA(0xff, 0xff, 0xff); + ColourRGBA fore = black; + ColourRGBA back = white; ColourRGBA backSelected = ColourRGBA(0xff, 0x00, 0x00); Scintilla::Layer layer = Scintilla::Layer::Base; Scintilla::Alpha alpha = Scintilla::Alpha::NoAlpha; |