added namespaces

This commit is contained in:
fourtf
2017-01-18 21:30:23 +01:00
parent 82338baaa3
commit 2e8dc63a95
82 changed files with 681 additions and 459 deletions
+52
View File
@@ -0,0 +1,52 @@
#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