#include "widgets/helper/ScrollbarHighlight.hpp" #include "Application.hpp" #include "singletons/Theme.hpp" #include "widgets/Scrollbar.hpp" namespace chatterino { ScrollbarHighlight::ScrollbarHighlight() : color_(std::make_shared()) , style_(Style::None) { } ScrollbarHighlight::ScrollbarHighlight(const std::shared_ptr color, Style style, bool isRedeemedHighlight) : color_(color) , style_(style) , isRedeemedHighlight_(isRedeemedHighlight) { } QColor ScrollbarHighlight::getColor() const { return *this->color_; } ScrollbarHighlight::Style ScrollbarHighlight::getStyle() const { return this->style_; } bool ScrollbarHighlight::isRedeemedHighlight() const { return this->isRedeemedHighlight_; } bool ScrollbarHighlight::isNull() const { return this->style_ == None; } } // namespace chatterino