mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
13 lines
382 B
C++
13 lines
382 B
C++
#include "scrollbarhighlight.h"
|
|
#include "colorscheme.h"
|
|
|
|
ScrollBarHighlight::ScrollBarHighlight(float position, int colorIndex,
|
|
Style style, QString tag)
|
|
: position(position)
|
|
, colorIndex(std::max(
|
|
0, std::min(ColorScheme::instance().HighlightColorCount, colorIndex)))
|
|
, style(style)
|
|
, tag(tag)
|
|
, next(NULL)
|
|
{
|
|
}
|