This commit is contained in:
fourtf
2017-01-03 21:19:33 +01:00
parent 4ccbc8d4e4
commit 2b4fa8071f
22 changed files with 463 additions and 23 deletions
+12
View File
@@ -0,0 +1,12 @@
#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::getInstance().HighlightColorCount, colorIndex))),
m_style(style),
m_tag(tag),
next(NULL)
{
}