]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/src/Style.h
1 // Scintilla source code edit control
2 // Style.h - defines the font and colour style for a class of text
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.
13 bool aliasOfDefaultFont
;
24 unsigned int lineHeight
;
27 unsigned int externalLeading
;
28 unsigned int aveCharWidth
;
29 unsigned int spaceWidth
;
32 Style(const Style
&source
);
34 Style
&operator=(const Style
&source
);
35 void Clear(Colour fore_
, Colour back_
,
37 const char *fontName_
, int characterSet_
,
38 bool bold_
, bool italic_
, bool eolFilled_
, bool underline_
, bool visible_
);
39 bool EquivalentFontTo(const Style
*other
) const;
40 void Realise(Surface
&surface
, int zoomLevel
, Style
*defaultStyle
=0);