From 81f7847af4cc9f51f02ab191c73f394c457518bd Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 25 Apr 2021 09:52:20 +1000 Subject: Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. --- qt/ScintillaEditBase/PlatQt.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qt/ScintillaEditBase/PlatQt.cpp') diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index 783bdeea8..286441be9 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -1284,16 +1284,16 @@ void Menu::Show(Point pt, const Window & /*w*/) //---------------------------------------------------------------------- -ColourDesired Platform::Chrome() +ColourAlpha Platform::Chrome() { QColor c(Qt::gray); - return ColourDesired(c.red(), c.green(), c.blue()); + return ColourAlpha(c.red(), c.green(), c.blue()); } -ColourDesired Platform::ChromeHighlight() +ColourAlpha Platform::ChromeHighlight() { QColor c(Qt::lightGray); - return ColourDesired(c.red(), c.green(), c.blue()); + return ColourAlpha(c.red(), c.green(), c.blue()); } const char *Platform::DefaultFont() -- cgit v1.2.3