|
TGUI
0.7.8
|
Base class for theme loader implementations. More...
#include <TGUI/Loading/ThemeLoader.hpp>
Public Member Functions | |
| virtual | ~BaseThemeLoader ()=default |
| Virtual destructor. | |
| virtual std::string | load (const std::string &primary, const std::string &secondary, PropertyValuePairs &properties)=0 |
| Load the property-value pairs from the theme. More... | |
Base class for theme loader implementations.
|
pure virtual |
Load the property-value pairs from the theme.
| primary | Primary parameter of the loader |
| secondary | Secondary parameter of the loader |
| properties | Empty map op property-value pairs that will be filled by this function |
For the default loader, the primary parameter is the filename while the secondary parameter is the class name.
Implemented in tgui::DefaultThemeLoader.