mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
21 lines
353 B
C++
21 lines
353 B
C++
#pragma once
|
|
|
|
#include <QColor>
|
|
|
|
namespace chatterino {
|
|
class Theme;
|
|
|
|
struct MessageColor {
|
|
enum Type { Custom, Text, Link, System };
|
|
|
|
MessageColor(const QColor &color);
|
|
MessageColor(Type type_ = Text);
|
|
|
|
const QColor &getColor(Theme &themeManager) const;
|
|
|
|
private:
|
|
Type type_;
|
|
QColor customColor_;
|
|
};
|
|
|
|
} // namespace chatterino
|