summaryrefslogtreecommitdiffstats
path: root/scintilla/src/Style.h
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/Style.h')
-rw-r--r--scintilla/src/Style.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/scintilla/src/Style.h b/scintilla/src/Style.h
index 5b7d3f3..5f520e7 100644
--- a/scintilla/src/Style.h
+++ b/scintilla/src/Style.h
@@ -27,7 +27,8 @@ struct FontSpecification {
characterSet(0),
extraFontFlag(0) {
}
- bool EqualTo(const FontSpecification &other) const;
+ bool operator==(const FontSpecification &other) const;
+ bool operator<(const FontSpecification &other) const;
};
// Just like Font but only has a copy of the FontID so should not delete it
@@ -77,7 +78,7 @@ public:
const char *fontName_, int characterSet_,
int weight_, bool italic_, bool eolFilled_,
bool underline_, ecaseForced caseForce_,
- bool visible_, bool changeable_, bool hotspot_);
+ bool visible_, bool changeable_, bool hotspot_);
void ClearTo(const Style &source);
void Copy(Font &font_, const FontMeasurements &fm_);
bool IsProtected() const { return !(changeable && visible);}