Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
LoadLayout.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace sgui
6{
7// forward declaration
8class Layout;
9
13bool loadFromFile (Layout& layout, const std::string& file);
14void saveInFile (const Layout& layout, const std::string& file, const bool compact = false);
15
16} // namespace sgui
allow to store and load Gui layou
Definition Layout.h:33
Definition Interpolation.h:16
void saveInFile(const json &out, const std::string &file, const bool compact)
save json to file
Definition LoadJson.cpp:6
json loadFromFile(const std::string &file)
load json from file
Definition LoadJson.cpp:21