mirror-chatterino2/widgets/scrollbarhighlight.h
2017-04-12 17:46:44 +02:00

49 lines
741 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