26#ifndef TGUI_WIDGET_LOADER_HPP
27#define TGUI_WIDGET_LOADER_HPP
30#include <TGUI/Loading/WidgetConverter.hpp>
31#include <TGUI/Loading/DataIO.hpp>
32#include <TGUI/Container.hpp>
45 using LoadFunction = std::function<
Widget::Ptr(std::shared_ptr<DataIO::Node>)>;
68 static void setLoadFunction(
const std::string& type,
const LoadFunction& loadFunction);
84 static std::map<std::string, LoadFunction> m_loadFunctions;
std::shared_ptr< Container > Ptr
Shared widget pointer.
Definition: Container.hpp:51
Namespace that contains all TGUI functions and classes.
Definition: Animation.hpp:34