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.
21
bool aliasOfDefaultFont;
29
enum ecaseForced {caseMixed, caseUpper, caseLower};
30
ecaseForced caseForce;
37
unsigned int lineHeight;
40
unsigned int externalLeading;
41
unsigned int aveCharWidth;
42
unsigned int spaceWidth;
45
Style(const Style &source);
47
Style &operator=(const Style &source);
48
void Clear(ColourDesired fore_, ColourDesired back_,
50
const char *fontName_, int characterSet_,
51
bool bold_, bool italic_, bool eolFilled_,
52
bool underline_, ecaseForced caseForce_,
53
bool visible_, bool changeable_, bool hotspot_);
54
void ClearTo(const Style &source);
55
bool EquivalentFontTo(const Style *other) const;
56
void Realise(Surface &surface, int zoomLevel, Style *defaultStyle = 0, int extraFontFlag = 0);
57
bool IsProtected() const { return !(changeable && visible);}