mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
14 lines
390 B
C++
14 lines
390 B
C++
#include "scrollbarhighlight.h"
|
|
#include "colorscheme.h"
|
|
|
|
ScrollBarHighlight::ScrollBarHighlight(float position, int colorIndex,
|
|
Style style, QString tag)
|
|
: m_position(position)
|
|
, m_colorIndex(std::max(
|
|
0, std::min(ColorScheme::instance().HighlightColorCount, colorIndex)))
|
|
, m_style(style)
|
|
, m_tag(tag)
|
|
, next(NULL)
|
|
{
|
|
}
|