mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
48 lines
698 B
C++
48 lines
698 B
C++
#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
|