diff options
Diffstat (limited to 'include/StaticImage.hpp')
-rw-r--r-- | include/StaticImage.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/StaticImage.hpp b/include/StaticImage.hpp new file mode 100644 index 0000000..3ede61c --- /dev/null +++ b/include/StaticImage.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include <dchat/StaticImage.hpp> +#include <dchat/StringView.hpp> +#include <SFML/Graphics/Texture.hpp> + +namespace dchat +{ + class SfmlStaticImage : public StaticImage + { + public: + SfmlStaticImage(const boost::filesystem::path &path); + virtual ~SfmlStaticImage(){} + + sf::Texture texture; + }; +}
\ No newline at end of file |