]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/scintilla/src/ViewStyle.h
944872095a4fc28deb0340c76d782184dc4dfbbd
1 // Scintilla source code edit control
2 // ViewStyle.h - store information on how the document is to be viewed
3 // Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
4 // The License.txt file describes the conditions under which this software may be distributed.
20 Style styles
[STYLE_MAX
+ 1];
21 LineMarker markers
[MARKER_MAX
+ 1];
22 Indicator indicators
[INDIC_MAX
+ 1];
24 unsigned int maxAscent
;
25 unsigned int maxDescent
;
26 unsigned int aveCharWidth
;
27 unsigned int spaceWidth
;
29 ColourPair selforeground
;
31 ColourPair selbackground
;
33 ColourPair selbarlight
;
34 // Margins are ordered: Line Numbers, Selection Margin, Spacing Margin
35 int leftMarginWidth
; // Spacing margin on left of text
36 int rightMarginWidth
; // Spacing margin on left of text
39 int maskInLine
; // Mask for markers to be put into text because there is nowhere for them to go in margin
40 MarginStyle ms
[margins
];
46 ColourPair caretcolour
;
47 ColourPair edgecolour
;
50 ViewStyle(const ViewStyle
&source
);
53 void RefreshColourPalette(Palette
&pal
, bool want
);
54 void Refresh(Surface
&surface
);
55 void ResetDefaultStyle();