blob: 6edef9296ddca2cf0f6109fed0afeeb2ff326a5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <dchat/Gif.hpp>
#include <SFML/Graphics/Texture.hpp>
namespace dchat
{
class SfmlGif : public Gif
{
public:
SfmlGif(StringView fileContent);
virtual ~SfmlGif(){}
bool createTexture() override;
void updateTexture(void *textureData) override;
sf::Texture texture;
};
}
|