mirror-chatterino2/src/messages/MessageColor.hpp

23 lines
378 B
C++
Raw Normal View History

#pragma once
2018-06-28 19:46:45 +02:00
#include "singletons/Themes.hpp"
#include <QColor>
namespace chatterino {
2018-01-28 03:48:15 +01:00
struct MessageColor {
enum Type { Custom, Text, Link, System };
MessageColor(const QColor &color);
MessageColor(Type type = Text);
const QColor &getColor(ThemeManager &themeManager) const;
private:
Type type;
2018-01-28 03:57:22 +01:00
QColor customColor;
};
2017-12-16 17:53:48 +01:00
} // namespace chatterino