mirror-chatterino2/scrollbarhighlight.h

44 lines
678 B
C
Raw Normal View History

2017-01-03 21:19:33 +01:00
#ifndef SCROLLBARHIGHLIGHT_H
#define SCROLLBARHIGHLIGHT_H
#include "QString"
class ScrollBarHighlight
{
public:
enum Style {
Default,
Left,
Right,
SingleLine
};
ScrollBarHighlight(float position, int colorIndex, Style style = Default, QString tag = "");
Style style() {
return m_style;
}
float position() {
return m_position;
}
int colorIndex() {
return m_colorIndex;
}
QString getTag() {
return m_tag;
}
ScrollBarHighlight* next;
private:
Style m_style;
float m_position;
int m_colorIndex;
QString m_tag;
};
#endif // SCROLLBARHIGHLIGHT_H