Chatterino
Public Member Functions | Public Attributes | List of all members
chatterino::Selection Struct Reference

#include <Selection.hpp>

Collaboration diagram for chatterino::Selection:
[legend]

Public Member Functions

 Selection ()=default
 
 Selection (const SelectionItem &start, const SelectionItem &end)
 
bool isEmpty () const
 
bool isSingleMessage () const
 
void shiftMessageIndex (uint32_t offset)
 

Public Attributes

SelectionItem start
 
SelectionItem end
 
SelectionItem selectionMin
 
SelectionItem selectionMax
 

Constructor & Destructor Documentation

◆ Selection() [1/2]

chatterino::Selection::Selection ( )
default

◆ Selection() [2/2]

chatterino::Selection::Selection ( const SelectionItem start,
const SelectionItem end 
)
inline

Member Function Documentation

◆ isEmpty()

bool chatterino::Selection::isEmpty ( ) const
inline
Here is the caller graph for this function:

◆ isSingleMessage()

bool chatterino::Selection::isSingleMessage ( ) const
inline

◆ shiftMessageIndex()

void chatterino::Selection::shiftMessageIndex ( uint32_t  offset)
inline

Member Data Documentation

◆ end

SelectionItem chatterino::Selection::end

◆ selectionMax

SelectionItem chatterino::Selection::selectionMax

◆ selectionMin

SelectionItem chatterino::Selection::selectionMin

◆ start

SelectionItem chatterino::Selection::start

The documentation for this struct was generated from the following file: