mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 07:05:39 +00:00
5ae029cd89
Sped up image rendering a bit. Added a framerate display - uncomment the #define DRAWFRAMERATE line in GuiGameList.cpp to see it.
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
|