mirror-chatterino2/widgets/scrollbarhighlight.h
2017-01-18 21:30:23 +01:00

53 lines
748 B
C++

#ifndef SCROLLBARHIGHLIGHT_H
#define SCROLLBARHIGHLIGHT_H
#include "QString"
namespace chatterino {
namespace widgets {
class ScrollBarHighlight
{
public:
enum Style { Default, Left, Right, SingleLine };
ScrollBarHighlight(float getPosition, int getColorIndex,
Style getStyle = Default, QString tag = "");
Style
getStyle()
{
return style;
}
float
getPosition()
{
return position;
}
int
getColorIndex()
{
return colorIndex;
}
QString
getTag()
{
return tag;
}
ScrollBarHighlight *next;
private:
Style style;
float position;
int colorIndex;
QString tag;
};
}
}
#endif // SCROLLBARHIGHLIGHT_H