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
+43
View File
@@ -0,0 +1,43 @@
#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