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
commit86fc59c515f92eb9407e5f981eab1f4d04a6d97e (patch)
tree70c0f28422712d87cf21449071674145b761a471 /src/LineMarker.h
parent79a9cd4d05fcc71fcdb01eda70e53abc7195213d (diff)
downloadscintilla-mirror-86fc59c515f92eb9407e5f981eab1f4d04a6d97e.tar.gz
Backport: Rename typeOfFold to FoldPart and make an enum class.
Backport of changeset 8411:606b39f5e1f4.
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 db3a8f15e..00fe0b7e0 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;
};
}