mirror-chatterino2/colorscheme.h

71 lines
1.4 KiB
C
Raw Normal View History

2016-12-30 19:16:48 +01:00
#ifndef COLORSCHEME_H
#define COLORSCHEME_H
2016-12-30 19:20:04 +01:00
#include <QColor>
2017-01-01 02:30:42 +01:00
#include <QBrush>
2016-12-30 19:16:48 +01:00
class ColorScheme
{
2016-12-30 20:41:24 +01:00
public:
bool IsLightTheme;
2017-01-01 02:30:42 +01:00
QColor DropPreviewBackground;
2016-12-30 20:41:24 +01:00
QColor TooltipBackground;
QColor TooltipText;
QColor ChatSeperator;
QColor ChatBackground;
QColor ChatBackgroundHighlighted;
QColor ChatBackgroundResub;
QColor ChatBackgroundWhisper;
2017-01-01 02:30:42 +01:00
QColor ChatHeaderBorder;
QColor ChatHeaderBackground;
QColor ChatInputBackground;
2016-12-30 20:41:24 +01:00
QColor ChatInputBorder;
2017-01-01 02:30:42 +01:00
2016-12-30 20:41:24 +01:00
QColor ChatMessageSeperatorBorder;
QColor ChatMessageSeperatorBorderInner;
QColor ChatBorder;
QColor ChatBorderFocused;
QColor Text;
QColor TextCaret;
QColor TextLink;
QColor TextFocused;
QColor Menu;
QColor MenuBorder;
QColor ScrollbarBG;
QColor ScrollbarThumb;
QColor ScrollbarThumbSelected;
QColor ScrollbarArrow;
2017-01-01 02:30:42 +01:00
QColor TabPanelBackground;
QColor TabBackground;
QColor TabHoverBackground;
QColor TabSelectedBackground;
QColor TabHighlightedBackground;
QBrush TabNewMessageBackground;
2016-12-30 20:41:24 +01:00
QColor TabText;
QColor TabHoverText;
QColor TabSelectedText;
QColor TabHighlightedText;
2017-01-03 21:19:33 +01:00
const int HighlightColorCount = 3;
QColor HighlightColors[3];
2016-12-30 20:41:24 +01:00
static ColorScheme& getInstance()
{
static ColorScheme instance;
return instance;
}
void setColors(float hue, float multiplyer);
2016-12-30 19:20:04 +01:00
private:
2016-12-30 19:26:55 +01:00
ColorScheme() {}
2016-12-30 19:16:48 +01:00
};
2016-12-30 19:20:04 +01:00
#endif // COLORSCHEME_H