]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/src/Style.h
63259b1a93b9edf6bfc41ea9995b81eebef5a75a
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
;
32 unsigned int lineHeight
;
35 unsigned int externalLeading
;
36 unsigned int aveCharWidth
;
37 unsigned int spaceWidth
;
40 Style(const Style
&source
);
42 Style
&operator=(const Style
&source
);
43 void Clear(ColourDesired fore_
, ColourDesired back_
,
45 const char *fontName_
, int characterSet_
,
46 bool bold_
, bool italic_
, bool eolFilled_
,
47 bool underline_
, ecaseForced caseForce_
,
48 bool visible_
, bool changeable_
);
49 void ClearTo(const Style
&source
);
50 bool EquivalentFontTo(const Style
*other
) const;
51 void Realise(Surface
&surface
, int zoomLevel
, Style
*defaultStyle
= 0);
52 bool IsProtected() { return !(changeable
&& visible
);} ;