mirror-chatterino2/src/messages/MessageColor.hpp
2018-06-28 19:51:07 +02:00

23 lines
372 B
C++

#pragma once
#include "singletons/Themes.hpp"
#include <QColor>
namespace chatterino {
struct MessageColor {
enum Type { Custom, Text, Link, System };
MessageColor(const QColor &color);
MessageColor(Type type = Text);
const QColor &getColor(Themes &themeManager) const;
private:
Type type;
QColor customColor;
};
} // namespace chatterino