]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/src/Style.h
1 // Scintilla source code edit control
3 ** Defines the font and colour style for a class of text.
5 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
17 bool aliasOfDefaultFont
;
25 enum ecaseForced
{caseMixed
, caseUpper
, caseLower
};
26 ecaseForced caseForce
;
31 unsigned int lineHeight
;
34 unsigned int externalLeading
;
35 unsigned int aveCharWidth
;
36 unsigned int spaceWidth
;
39 Style(const Style
&source
);
41 Style
&operator=(const Style
&source
);
42 void Clear(Colour fore_
, Colour back_
,
44 const char *fontName_
, int characterSet_
,
45 bool bold_
, bool italic_
, bool eolFilled_
,
46 bool underline_
, ecaseForced caseForce_
, bool visible_
);
47 void ClearTo(const Style
&source
);
48 bool EquivalentFontTo(const Style
*other
) const;
49 void Realise(Surface
&surface
, int zoomLevel
, Style
*defaultStyle
= 0);