mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 07:05:39 +00:00
25 lines
438 B
C
25 lines
438 B
C
|
#ifndef _GUITHEME_H_
|
||
|
#define _GUITHEME_H_
|
||
|
|
||
|
#include "../GuiComponent.h"
|
||
|
#include "../pugiXML/pugixml.hpp"
|
||
|
|
||
|
class GuiTheme : public GuiComponent
|
||
|
{
|
||
|
public:
|
||
|
GuiTheme(std::string path = "");
|
||
|
~GuiTheme();
|
||
|
|
||
|
void readXML(std::string path);
|
||
|
|
||
|
private:
|
||
|
void deleteComponents();
|
||
|
|
||
|
GuiComponent* createElement(pugi::xml_node data, GuiComponent* parent);
|
||
|
int resolveExp(std::string str);
|
||
|
|
||
|
std::vector<GuiComponent*> mComponentVector;
|
||
|
};
|
||
|
|
||
|
#endif
|