mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
35 lines
643 B
C++
35 lines
643 B
C++
#include "widgets/helper/ScrollbarHighlight.hpp"
|
|
#include "singletons/Theme.hpp"
|
|
#include "widgets/Scrollbar.hpp"
|
|
|
|
namespace chatterino {
|
|
|
|
ScrollbarHighlight::ScrollbarHighlight()
|
|
: color_(Color::Highlight)
|
|
, style_(Style::None)
|
|
{
|
|
}
|
|
|
|
ScrollbarHighlight::ScrollbarHighlight(Color color, Style style)
|
|
: color_(color)
|
|
, style_(style)
|
|
{
|
|
}
|
|
|
|
ScrollbarHighlight::Color ScrollbarHighlight::getColor() const
|
|
{
|
|
return this->color_;
|
|
}
|
|
|
|
ScrollbarHighlight::Style ScrollbarHighlight::getStyle() const
|
|
{
|
|
return this->style_;
|
|
}
|
|
|
|
bool ScrollbarHighlight::isNull() const
|
|
{
|
|
return this->style_ == None;
|
|
}
|
|
|
|
} // namespace chatterino
|