TGUI  v0.7.5
tgui::BaseThemeLoader Class Referenceabstract

Base class for theme loader implementations. More...

#include <ThemeLoader.hpp>

Inheritance diagram for tgui::BaseThemeLoader:
tgui::DefaultThemeLoader

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...
 

Detailed Description

Base class for theme loader implementations.

Member Function Documentation

◆ load()

virtual std::string tgui::BaseThemeLoader::load ( const std::string &  primary,
const std::string &  secondary,
PropertyValuePairs &  properties 
)
pure virtual

Load the property-value pairs from the theme.

Parameters
primaryPrimary parameter of the loader
secondarySecondary parameter of the loader
propertiesEmpty 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.

Returns
Type of the widget

Implemented in tgui::DefaultThemeLoader.


The documentation for this class was generated from the following file: