2017-06-07 10:09:24 +02:00
|
|
|
#pragma once
|
2017-01-03 21:19:33 +01:00
|
|
|
|
|
|
|
#include "QString"
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace chatterino {
|
|
|
|
namespace widgets {
|
2018-01-06 03:48:56 +01:00
|
|
|
class ScrollbarHighlight
|
2017-01-03 21:19:33 +01:00
|
|
|
{
|
|
|
|
public:
|
2018-01-06 03:48:56 +01:00
|
|
|
enum Style : char { None, Default, Line };
|
|
|
|
enum Color : char { Highlight };
|
2017-01-03 21:19:33 +01:00
|
|
|
|
2018-01-06 03:48:56 +01:00
|
|
|
ScrollbarHighlight();
|
|
|
|
ScrollbarHighlight(Color _color, Style _style = Default);
|
2017-01-03 21:19:33 +01:00
|
|
|
|
2018-01-06 03:48:56 +01:00
|
|
|
Color getColor() const;
|
|
|
|
Style getStyle() const;
|
|
|
|
bool isNull() const;
|
2017-01-03 21:19:33 +01:00
|
|
|
|
|
|
|
private:
|
2018-01-06 03:48:56 +01:00
|
|
|
Color color;
|
2017-06-26 16:41:20 +02:00
|
|
|
Style style;
|
2017-01-03 21:19:33 +01:00
|
|
|
};
|
2017-05-27 16:16:39 +02:00
|
|
|
|
|
|
|
} // namespace widgets
|
|
|
|
} // namespace chatterino
|