Add Basic Elevated Message support (#4016)

This commit is contained in:
Felanbird
2022-09-30 19:23:31 -04:00
committed by GitHub
parent 9554b83c1a
commit 0ab59d44f0
16 changed files with 138 additions and 4 deletions
+4 -1
View File
@@ -22,12 +22,14 @@ public:
ScrollbarHighlight(const std::shared_ptr<QColor> color,
Style style = Default, bool isRedeemedHighlight = false,
bool isFirstMessageHighlight = false);
bool isFirstMessageHighlight = false,
bool isElevatedMessageHighlight = false);
QColor getColor() const;
Style getStyle() const;
bool isRedeemedHighlight() const;
bool isFirstMessageHighlight() const;
bool isElevatedMessageHighlight() const;
bool isNull() const;
private:
@@ -35,6 +37,7 @@ private:
Style style_;
bool isRedeemedHighlight_;
bool isFirstMessageHighlight_;
bool isElevatedMessageHighlight_;
};
} // namespace chatterino