Chatterino
Public Types | Public Member Functions | List of all members
chatterino::ScrollbarHighlight Class Reference

#include <ScrollbarHighlight.hpp>

Public Types

enum  Style : char { None, Default, Line }
 

Public Member Functions

 ScrollbarHighlight ()
 Constructs an invalid ScrollbarHighlight. More...
 
 ScrollbarHighlight (const std::shared_ptr< QColor > color, Style style=Default, bool isRedeemedHighlight=false, bool isFirstMessageHighlight=false, bool isElevatedMessageHighlight=false)
 
QColor getColor () const
 
Style getStyle () const
 
bool isRedeemedHighlight () const
 
bool isFirstMessageHighlight () const
 
bool isElevatedMessageHighlight () const
 
bool isNull () const
 

Member Enumeration Documentation

◆ Style

Enumerator
None 
Default 
Line 

Constructor & Destructor Documentation

◆ ScrollbarHighlight() [1/2]

chatterino::ScrollbarHighlight::ScrollbarHighlight ( )

Constructs an invalid ScrollbarHighlight.

A highlight constructed this way will not show on the scrollbar. For these, use the static ScrollbarHighlight::newSubscription and ScrollbarHighlight::newHighlight methods.

◆ ScrollbarHighlight() [2/2]

chatterino::ScrollbarHighlight::ScrollbarHighlight ( const std::shared_ptr< QColor >  color,
Style  style = Default,
bool  isRedeemedHighlight = false,
bool  isFirstMessageHighlight = false,
bool  isElevatedMessageHighlight = false 
)

Member Function Documentation

◆ getColor()

QColor chatterino::ScrollbarHighlight::getColor ( ) const
Here is the caller graph for this function:

◆ getStyle()

ScrollbarHighlight::Style chatterino::ScrollbarHighlight::getStyle ( ) const
Here is the caller graph for this function:

◆ isElevatedMessageHighlight()

bool chatterino::ScrollbarHighlight::isElevatedMessageHighlight ( ) const
Here is the caller graph for this function:

◆ isFirstMessageHighlight()

bool chatterino::ScrollbarHighlight::isFirstMessageHighlight ( ) const
Here is the caller graph for this function:

◆ isNull()

bool chatterino::ScrollbarHighlight::isNull ( ) const
Here is the caller graph for this function:

◆ isRedeemedHighlight()

bool chatterino::ScrollbarHighlight::isRedeemedHighlight ( ) const
Here is the caller graph for this function:

The documentation for this class was generated from the following files: