diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-16 09:16:44 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-16 09:16:44 +1000 |
commit | 47aa162ca1136d96dea71ceab3ad440f16ede1fb (patch) | |
tree | 4c42aa032f7d258226b463bdb3dd20efc96b3277 /src/LineMarker.h | |
parent | f75ba31174a71b506182c7d29d31fc2c4a29ebbd (diff) | |
download | scintilla-mirror-47aa162ca1136d96dea71ceab3ad440f16ede1fb.tar.gz |
Rename typeOfFold to FoldPart and make an enum class.
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 8a15327d2..4173f065e 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -19,7 +19,7 @@ typedef void (*DrawLineMarkerFn)(Surface *surface, PRectangle &rcWhole, Font &fo */ class LineMarker { public: - enum typeOfFold { undefined, head, body, tail, headWithTail }; + enum class FoldPart { undefined, head, body, tail, headWithTail }; int markType = SC_MARK_CIRCLE; ColourDesired fore = ColourDesired(0, 0, 0); @@ -44,7 +44,7 @@ public: void SetXPM(const char *textForm); void SetXPM(const char *const *linesForm); void SetRGBAImage(Point sizeRGBAImage, float scale, const unsigned char *pixelsRGBAImage); - void Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, typeOfFold tFold, int marginStyle) const; + void Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, FoldPart part, int marginStyle) const; }; } |