this commit is too big
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "messages/Image.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class ImageSet
|
||||
{
|
||||
public:
|
||||
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 ImagePtr &getImage1() const;
|
||||
const ImagePtr &getImage2() const;
|
||||
const ImagePtr &getImage3() const;
|
||||
|
||||
const ImagePtr &getImage(float scale) const;
|
||||
|
||||
ImagePtr getImage(float scale);
|
||||
|
||||
bool operator==(const ImageSet &other) const;
|
||||
bool operator!=(const ImageSet &other) const;
|
||||
|
||||
private:
|
||||
ImagePtr imageX1_;
|
||||
ImagePtr imageX2_;
|
||||
ImagePtr imageX3_;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user