diff options
author | Neil <nyamatongwe@gmail.com> | 2014-06-26 13:06:24 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-06-26 13:06:24 +1000 |
commit | c2111963a126dd0e66bdceb33dcfe39a3f90478f (patch) | |
tree | f601fc5c1dce17a19c429a45d3a27db9df7d6710 /src/Editor.h | |
parent | bef1bd1c8a4c409ccb5e831d62ef42d24489050e (diff) | |
download | scintilla-mirror-c2111963a126dd0e66bdceb33dcfe39a3f90478f.tar.gz |
Move calculation of line background colour to ViewStyle and represent as a
ColourOptional to tightly bind the value with whether it is set.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h index f26f1c447..7a84690af 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -437,12 +437,12 @@ protected: // ScintillaBase subclass needs access to much of Editor void LayoutLine(int line, Surface *surface, const ViewStyle &vstyle, LineLayout *ll, int width=LineLayout::wrapWidthInfinite); ColourDesired SelectionBackground(const ViewStyle &vsDraw, bool main) const; - ColourDesired TextBackground(const ViewStyle &vsDraw, bool overrideBackground, ColourDesired background, int inSelection, bool inHotspot, int styleMain, int i, LineLayout *ll) const; + ColourDesired TextBackground(const ViewStyle &vsDraw, ColourOptional background, int inSelection, bool inHotspot, int styleMain, int i, LineLayout *ll) const; void DrawIndentGuide(Surface *surface, int lineVisible, int lineHeight, int start, PRectangle rcSegment, bool highlight); static void DrawWrapMarker(Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour); void DrawEOL(Surface *surface, const ViewStyle &vsDraw, PRectangle rcLine, LineLayout *ll, int line, int lineEnd, int xStart, int subLine, XYACCUMULATOR subLineStart, - bool overrideBackground, ColourDesired background, + ColourOptional background, bool drawWrapMark, ColourDesired wrapColour); static void DrawIndicator(int indicNum, int startPos, int endPos, Surface *surface, const ViewStyle &vsDraw, int xStart, PRectangle rcLine, LineLayout *ll, int subLine); |