Update Scintilla to version 3.5.1
[TortoiseGit.git] / ext / scintilla / src / MarginView.h
blob625d3485e22bf4884552385b1837b28f429b7a3b
1 // Scintilla source code edit control
2 /** @file MarginView.h
3 ** Defines the appearance of the editor margin.
4 **/
5 // Copyright 1998-2014 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 #ifndef MARGINVIEW_H
9 #define MARGINVIEW_H
11 #ifdef SCI_NAMESPACE
12 namespace Scintilla {
13 #endif
15 void DrawWrapMarker(Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour);
17 /**
18 * MarginView draws the margins.
20 class MarginView {
21 public:
22 Surface *pixmapSelMargin;
23 Surface *pixmapSelPattern;
24 Surface *pixmapSelPatternOffset1;
25 // Highlight current folding block
26 HighlightDelimiter highlightDelimiter;
28 MarginView();
30 void DropGraphics(bool freeObjects);
31 void AllocateGraphics(const ViewStyle &vsDraw);
32 void RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewStyle &vsDraw);
33 void PaintMargin(Surface *surface, int topLine, PRectangle rc, PRectangle rcMargin,
34 const EditModel &model, const ViewStyle &vs);
37 #ifdef SCI_NAMESPACE
39 #endif
41 #endif