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

Go to the source code of this file.

Namespaces

namespace  sgui

Functions

 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (FontSize, normal, title, subtitle, footnote)
 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (Style, fontSize, fontColor, itemSpacing)
 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (Panel, movable, visible, closable, hasHeader, size, position, title)
 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (Constraints, vertical, horizontal, relativePosition)
 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (Window, panel, constraints)
 sgui::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT (LayoutEntry, panel, position, constraints, window)
 sgui::NLOHMANN_JSON_SERIALIZE_ENUM (VerticalAlignment, { {VerticalAlignment::None, "VerticalAlignment::None"}, {VerticalAlignment::Top, "VerticalAlignment::Top"}, {VerticalAlignment::Bottom, "VerticalAlignment::Bottom"}, {VerticalAlignment::Center, "VerticalAlignment::Center"}, }) NLOHMANN_JSON_SERIALIZE_ENUM(HorizontalAlignment