|
Smolgui
Immediate gui library based on SFML
|
#include <array>#include <SFML/Graphics/Rect.hpp>#include <SFML/Graphics/Vertex.hpp>Go to the source code of this file.
Namespaces | |
| namespace | sgui |
Typedefs | |
| using | sgui::Mesh = std::array <sf::Vertex, 6> |
Functions | |
| void | sgui::computeMesh (Mesh &mesh, const sf::FloatRect &box) |
| Compute mesh quad coordinates. | |
| void | sgui::computeMeshTexture (Mesh &Mesh, const sf::IntRect &textureRect) |
| compute texture coordinates from a rect | |
| void | sgui::rotateMeshTexture (Mesh &mesh) |
| Rotate a mesh texture by 90° | |