minor changes to MessageColor

This commit is contained in:
fourtf
2018-01-28 03:57:22 +01:00
parent 11775071b9
commit 772dc97d92
2 changed files with 3 additions and 13 deletions
+1 -4
View File
@@ -6,20 +6,17 @@
namespace chatterino {
namespace messages {
struct MessageColor {
enum Type { Custom, Text, Link, System };
MessageColor(const QColor &color);
MessageColor(Type type = Text);
Type getType() const;
const QColor &getColor(singletons::ThemeManager &themeManager) const;
private:
Type type;
QColor color;
QColor customColor;
};
} // namespace messages
} // namespace chatterino