aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LineMarker.h
diff options
context:
space:
mode:
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;
};
}