ES-DE/src/components/GuiTheme.h
Aloshi 5ae029cd89 Added initial theme support. More work on this to come.
Sped up image rendering a bit.
Added a framerate display - uncomment the #define DRAWFRAMERATE line in GuiGameList.cpp to see it.
2012-08-10 14:28:34 -05:00

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