Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
SerializeSFML.h File Reference
#include <nlohmann/json.hpp>
#include <SFML/Graphics/Rect.hpp>
#include <SFML/Graphics/Color.hpp>
#include <SFML/System/Vector3.hpp>
#include "sgui/Serialization/Macro.h"
Include dependency graph for SerializeSFML.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sf

Functions

 sf::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (Color, r, g, b, a)
template<typename T>
void sf::to_json (json &j, const sf::Vector2< T > &vector)
template<typename T>
void sf::from_json (const json &j, sf::Vector2< T > &vector)
template<typename T>
void sf::to_json (json &j, const sf::Vector3< T > &vector)
template<typename T>
void sf::from_json (const json &j, sf::Vector3< T > &vector)
template<typename T>
void sf::to_json (json &j, const sf::Rect< T > &rect)
template<typename T>
void sf::from_json (const json &j, sf::Rect< T > &rect)