rename header files from *.h to *.hpp
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
#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 = nullptr;
|
||||
|
||||
private:
|
||||
Style _style;
|
||||
float _position;
|
||||
int _colorIndex;
|
||||
QString _tag;
|
||||
};
|
||||
|
||||
} // namespace widgets
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user