19FontAlias::FontAlias() noexcept {
32 SetID(fontOrigin.GetID());
40 return fontName == other.fontName &&
41 weight == other.weight &&
42 italic == other.italic &&
44 characterSet == other.characterSet &&
45 extraFontFlag == other.extraFontFlag;
49 if (fontName != other.fontName)
50 return fontName < other.fontName;
51 if (weight != other.weight)
52 return weight < other.weight;
53 if (italic != other.italic)
54 return italic ==
false;
55 if (size != other.size)
56 return size < other.size;
57 if (characterSet != other.characterSet)
58 return characterSet < other.characterSet;
59 if (extraFontFlag != other.extraFontFlag)
60 return extraFontFlag < other.extraFontFlag;
89 characterSet = source.characterSet;
90 weight = source.weight;
91 italic = source.italic;
93 fontName = source.fontName;
94 eolFilled = source.eolFilled;
95 underline = source.underline;
96 caseForce = source.caseForce;
97 visible = source.visible;
98 changeable = source.changeable;
99 hotspot = source.hotspot;
113 characterSet = source.characterSet;
114 weight = source.weight;
115 italic = source.italic;
117 fontName = source.fontName;
118 eolFilled = source.eolFilled;
119 underline = source.underline;
120 caseForce = source.caseForce;
121 visible = source.visible;
122 changeable = source.changeable;
127 const char *fontName_,
int characterSet_,
128 int weight_,
bool italic_,
bool eolFilled_,
130 bool visible_,
bool changeable_,
bool hotspot_)
noexcept {
133 characterSet = characterSet_;
137 fontName = fontName_;
138 eolFilled = eolFilled_;
139 underline = underline_;
140 caseForce = caseForce_;
142 changeable = changeable_;
166 font.MakeAlias(font_);
Interface to the edit control.
#define SC_FONT_SIZE_MULTIPLIER
#define SC_CHARSET_DEFAULT
Defines the font and colour style for a class of text.
void MakeAlias(const Font &fontOrigin) noexcept
void ClearFont() noexcept
void SetID(FontID fid_) noexcept
void Clear(ColourDesired fore_, ColourDesired back_, int size_, const char *fontName_, int characterSet_, int weight_, bool italic_, bool eolFilled_, bool underline_, ecaseForced caseForce_, bool visible_, bool changeable_, bool hotspot_) noexcept
void Copy(const Font &font_, const FontMeasurements &fm_) noexcept
Style & operator=(const Style &source) noexcept
void ClearTo(const Style &source) noexcept
Styling buffer using one element for each run rather than using a filled buffer.
void ClearMeasurements() noexcept
FontMeasurements() noexcept
bool operator==(const FontSpecification &other) const noexcept
bool operator<(const FontSpecification &other) const noexcept