aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-16 09:16:44 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-16 09:16:44 +1000
commit47aa162ca1136d96dea71ceab3ad440f16ede1fb (patch)
tree4c42aa032f7d258226b463bdb3dd20efc96b3277 /src/LineMarker.h
parentf75ba31174a71b506182c7d29d31fc2c4a29ebbd (diff)
downloadscintilla-mirror-47aa162ca1136d96dea71ceab3ad440f16ede1fb.tar.gz
Rename typeOfFold to FoldPart and make an enum class.
Diffstat (limited to 'src/LineMarker.h')
-rw-r--r--src/LineMarker.h4
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;
};
}