diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-27 09:40:14 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-27 09:40:14 +1100 |
commit | e056a167c96e226dc7487f5df2263d17a4dec399 (patch) | |
tree | 279cd95e5fc1ad075a4b07cd39166a6c887ed913 /src/LineMarker.h | |
parent | c02f75227ef151af1b283e4436d06149e69679a7 (diff) | |
download | scintilla-mirror-e056a167c96e226dc7487f5df2263d17a4dec399.tar.gz |
Add APIs for setting translucency and stroke width of markers.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r-- | src/LineMarker.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/LineMarker.h b/src/LineMarker.h index 232a29dbb..b417ec34d 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -22,10 +22,11 @@ public: enum class FoldPart { undefined, head, body, tail, headWithTail }; int markType = SC_MARK_CIRCLE; - ColourDesired fore = ColourDesired(0, 0, 0); - ColourDesired back = ColourDesired(0xff, 0xff, 0xff); - ColourDesired backSelected = ColourDesired(0xff, 0x00, 0x00); + ColourAlpha fore = ColourAlpha(0, 0, 0); + ColourAlpha back = ColourAlpha(0xff, 0xff, 0xff); + ColourAlpha backSelected = ColourAlpha(0xff, 0x00, 0x00); int alpha = SC_ALPHA_NOALPHA; + XYPOSITION strokeWidth = 1.0f; std::unique_ptr<XPM> pxpm; std::unique_ptr<RGBAImage> image; /** Some platforms, notably PLAT_CURSES, do not support Scintilla's native |