sfml 0.25.1

Rust binding for sfml
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Note: No need to increase compile time by including TestUtilities/Window.hpp
#include <SFML/Window/VideoMode.hpp>
#include <sstream>

// String conversions for Catch framework
namespace Catch
{
    std::string toString(const sf::VideoMode& videoMode)
    {
        std::ostringstream stream;
        stream << videoMode.width << "x" << videoMode.height << "x" << videoMode.bitsPerPixel;
        return stream.str();
    }
}