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

#include <ImageSet.hpp>

Public Member Functions

 ImageSet ()
 
 ImageSet (const ImagePtr &image1, const ImagePtr &image2=Image::getEmpty(), const ImagePtr &image3=Image::getEmpty())
 
 ImageSet (const Url &image1, const Url &image2={}, const Url &image3={})
 
void setImage1 (const ImagePtr &image)
 
void setImage2 (const ImagePtr &image)
 
void setImage3 (const ImagePtr &image)
 
const ImagePtrgetImage1 () const
 
const ImagePtrgetImage2 () const
 
const ImagePtrgetImage3 () const
 
const ImagePtrgetImageOrLoaded (float scale) const
 
const ImagePtrgetImage (float scale) const
 
bool operator== (const ImageSet &other) const
 
bool operator!= (const ImageSet &other) const
 

Constructor & Destructor Documentation

◆ ImageSet() [1/3]

chatterino::ImageSet::ImageSet ( )

◆ ImageSet() [2/3]

chatterino::ImageSet::ImageSet ( const ImagePtr image1,
const ImagePtr image2 = Image::getEmpty(),
const ImagePtr image3 = Image::getEmpty() 
)

◆ ImageSet() [3/3]

chatterino::ImageSet::ImageSet ( const Url &  image1,
const Url &  image2 = {},
const Url &  image3 = {} 
)

Member Function Documentation

◆ getImage()

const ImagePtr & chatterino::ImageSet::getImage ( float  scale) const
Here is the call graph for this function:

◆ getImage1()

const ImagePtr & chatterino::ImageSet::getImage1 ( ) const

◆ getImage2()

const ImagePtr & chatterino::ImageSet::getImage2 ( ) const
Here is the caller graph for this function:

◆ getImage3()

const ImagePtr & chatterino::ImageSet::getImage3 ( ) const
Here is the caller graph for this function:

◆ getImageOrLoaded()

const ImagePtr & chatterino::ImageSet::getImageOrLoaded ( float  scale) const

Preferes getting an already loaded image, even if it is smaller/bigger. However, it starts loading the proper image.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool chatterino::ImageSet::operator!= ( const ImageSet other) const
Here is the call graph for this function:

◆ operator==()

bool chatterino::ImageSet::operator== ( const ImageSet other) const
Here is the caller graph for this function:

◆ setImage1()

void chatterino::ImageSet::setImage1 ( const ImagePtr image)

◆ setImage2()

void chatterino::ImageSet::setImage2 ( const ImagePtr image)

◆ setImage3()

void chatterino::ImageSet::setImage3 ( const ImagePtr image)

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