mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
22 lines
353 B
C++
22 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
|