#include "../include/StaticImage.hpp" namespace dchat { SfmlStaticImage::SfmlStaticImage(const boost::filesystem::path &path) { if(!texture.loadFromFile(path.string())) fprintf(stderr, "Failed to create texture for static image!\n"); } }