mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
23 lines
440 B
C++
23 lines
440 B
C++
#pragma once
|
|
|
|
#include <QColor>
|
|
|
|
#include "singletons/thememanager.hpp"
|
|
|
|
namespace chatterino {
|
|
namespace messages {
|
|
struct MessageColor {
|
|
enum Type { Custom, Text, Link, System };
|
|
|
|
MessageColor(const QColor &color);
|
|
MessageColor(Type type = Text);
|
|
|
|
const QColor &getColor(singletons::ThemeManager &themeManager) const;
|
|
|
|
private:
|
|
Type type;
|
|
QColor customColor;
|
|
};
|
|
} // namespace messages
|
|
} // namespace chatterino
|