aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Style.cxx b/src/Style.cxx
index 83224c736..ae5fa6aa3 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -59,13 +59,13 @@ void FontMeasurements::ClearMeasurements() noexcept {
}
Style::Style() : FontSpecification() {
- Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff),
+ Clear(ColourAlpha(0, 0, 0), ColourAlpha(0xff, 0xff, 0xff),
Platform::DefaultFontSize() * SC_FONT_SIZE_MULTIPLIER, nullptr, SC_CHARSET_DEFAULT,
SC_WEIGHT_NORMAL, false, false, false, CaseForce::mixed, true, true, false);
}
Style::Style(const Style &source) noexcept : FontSpecification(), FontMeasurements() {
- Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff),
+ Clear(ColourAlpha(0, 0, 0), ColourAlpha(0xff, 0xff, 0xff),
0, nullptr, 0,
SC_WEIGHT_NORMAL, false, false, false, CaseForce::mixed, true, true, false);
fore = source.fore;
@@ -89,7 +89,7 @@ Style::~Style() {
Style &Style::operator=(const Style &source) noexcept {
if (this == &source)
return * this;
- Clear(ColourDesired(0, 0, 0), ColourDesired(0xff, 0xff, 0xff),
+ Clear(ColourAlpha(0, 0, 0), ColourAlpha(0xff, 0xff, 0xff),
0, nullptr, SC_CHARSET_DEFAULT,
SC_WEIGHT_NORMAL, false, false, false, CaseForce::mixed, true, true, false);
fore = source.fore;
@@ -107,7 +107,7 @@ Style &Style::operator=(const Style &source) noexcept {
return *this;
}
-void Style::Clear(ColourDesired fore_, ColourDesired back_, int size_,
+void Style::Clear(ColourAlpha fore_, ColourAlpha back_, int size_,
const char *fontName_, int characterSet_,
int weight_, bool italic_, bool eolFilled_,
bool underline_, CaseForce caseForce_,